From c6c391128bbcbb6095ebc1ae21303475b4136813 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Tue, 19 Jul 2022 16:44:54 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 262cba5d1c654b4dc7c812bf5282d87c6456ea4f. --- .../CN-22.09/clickhouse/update-09-ck.sql | 12 ++++++------ .../Clickhouse_CN_建表语句.sql | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CN发布版本更新记录/CN-22.09/clickhouse/update-09-ck.sql b/CN发布版本更新记录/CN-22.09/clickhouse/update-09-ck.sql index f7514b5..c503cad 100644 --- a/CN发布版本更新记录/CN-22.09/clickhouse/update-09-ck.sql +++ b/CN发布版本更新记录/CN-22.09/clickhouse/update-09-ck.sql @@ -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_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 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 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; +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; diff --git a/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql b/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql index 913d0c2..f1f96c4 100644 --- a/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql +++ b/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql @@ -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_io Nullable(Int64), + client_is_internal 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_io Nullable(Int64), + server_is_internal 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_io Nullable(Int64), + client_is_internal 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_io Nullable(Int64), + server_is_internal 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_io Nullable(Int64), + client_is_internal 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_io Nullable(Int64), + server_is_internal Nullable(Int64), server_country String, server_province String, server_region String,