修改字段名

This commit is contained in:
houjinchuan
2022-07-19 14:11:13 +08:00
parent 287c09ada6
commit 262cba5d1c
2 changed files with 12 additions and 12 deletions

View File

@@ -6,10 +6,10 @@ ALTER table cyber_narrator_galaxy.session_record_cn_local on cluster ck_cluster
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_cluster add column IF NOT EXISTS common_app_id String after common_app_label;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_query add column IF NOT EXISTS common_app_id String after common_app_label;
ALTER table cyber_narrator_galaxy.session_record_cn_local on cluster ck_cluster add column IF NOT EXISTS client_is_internal Nullable(Int64) after domain_whois_org;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_cluster add column IF NOT EXISTS client_is_internal Nullable(Int64) after domain_whois_org;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_query add column IF NOT EXISTS client_is_internal Nullable(Int64) after domain_whois_org;
ALTER table cyber_narrator_galaxy.session_record_cn_local on cluster ck_cluster add column IF NOT EXISTS client_io Nullable(Int64) after domain_whois_org;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_cluster add column IF NOT EXISTS client_io Nullable(Int64) after domain_whois_org;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_query add column IF NOT EXISTS client_io Nullable(Int64) after domain_whois_org;
ALTER table cyber_narrator_galaxy.session_record_cn_local on cluster ck_cluster add column IF NOT EXISTS server_is_internal Nullable(Int64) after client_idc_renter;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_cluster add column IF NOT EXISTS server_is_internal Nullable(Int64) after client_idc_renter;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_query add column IF NOT EXISTS server_is_internal Nullable(Int64) after client_idc_renter;
ALTER table cyber_narrator_galaxy.session_record_cn_local on cluster ck_cluster add column IF NOT EXISTS server_io Nullable(Int64) after client_idc_renter;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_cluster add column IF NOT EXISTS server_io Nullable(Int64) after client_idc_renter;
ALTER table cyber_narrator_galaxy.session_record_cn on cluster ck_query add column IF NOT EXISTS server_io Nullable(Int64) after client_idc_renter;

View File

@@ -70,7 +70,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn_local ON CLUS
domain_reputation_level String,
domain_icp_company_name String,
domain_whois_org String,
client_is_internal Nullable(Int64),
client_io Nullable(Int64),
client_country String,
client_province String,
client_region String,
@@ -80,7 +80,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn_local ON CLUS
client_asn String,
client_whois_owner String,
client_idc_renter String,
server_is_internal Nullable(Int64),
server_io Nullable(Int64),
server_country String,
server_province String,
server_region String,
@@ -188,7 +188,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck
domain_reputation_level String,
domain_icp_company_name String,
domain_whois_org String,
client_is_internal Nullable(Int64),
client_io Nullable(Int64),
client_country String,
client_province String,
client_region String,
@@ -198,7 +198,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck
client_asn String,
client_whois_owner String,
client_idc_renter String,
server_is_internal Nullable(Int64),
server_io Nullable(Int64),
server_country String,
server_province String,
server_region String,
@@ -306,7 +306,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck
domain_reputation_level String,
domain_icp_company_name String,
domain_whois_org String,
client_is_internal Nullable(Int64),
client_io Nullable(Int64),
client_country String,
client_province String,
client_region String,
@@ -316,7 +316,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck
client_asn String,
client_whois_owner String,
client_idc_renter String,
server_is_internal Nullable(Int64),
server_io Nullable(Int64),
server_country String,
server_province String,
server_region String,