From 2832a8ba965850f496ab16af84a3b42528d81beb Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Thu, 14 Jul 2022 15:14:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E5=BC=A0=E5=AD=90?= =?UTF-8?q?=E8=A1=A8=E7=9A=84common=5Fdirection=E5=AD=97=E6=AE=B5=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=B8=BANullable(Int64)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TSG-22.06/clickhouse/update-06-ck.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/TSG发布版本更新记录/TSG-22.06/clickhouse/update-06-ck.sql b/TSG发布版本更新记录/TSG-22.06/clickhouse/update-06-ck.sql index da26c07..5f80558 100644 --- a/TSG发布版本更新记录/TSG-22.06/clickhouse/update-06-ck.sql +++ b/TSG发布版本更新记录/TSG-22.06/clickhouse/update-06-ck.sql @@ -33,3 +33,16 @@ ALTER table tsg_galaxy_v3.gtpc_record on cluster ck_query add column IF NOT EXI ALTER table tsg_galaxy_v3.voip_record_local on cluster ck_cluster add column IF NOT EXISTS common_app_identify_info String after common_userdefine_app_name; ALTER table tsg_galaxy_v3.voip_record on cluster ck_cluster add column IF NOT EXISTS common_app_identify_info String after common_userdefine_app_name; ALTER table tsg_galaxy_v3.voip_record on cluster ck_query add column IF NOT EXISTS common_app_identify_info String after common_userdefine_app_name; + + +ALTER table tsg_galaxy_v3.session_record_common_client_ip_local ON CLUSTER ck_cluster MODIFY column IF EXISTS common_direction Nullable(Int64); +ALTER table tsg_galaxy_v3.session_record_common_client_ip ON CLUSTER ck_cluster MODIFY column IF EXISTS common_direction Nullable(Int64); +ALTER table tsg_galaxy_v3.session_record_common_client_ip ON CLUSTER ck_query MODIFY column IF EXISTS common_direction Nullable(Int64); + +ALTER table tsg_galaxy_v3.session_record_common_server_ip_local ON CLUSTER ck_cluster MODIFY column IF EXISTS common_direction Nullable(Int64); +ALTER table tsg_galaxy_v3.session_record_common_server_ip ON CLUSTER ck_cluster MODIFY column IF EXISTS common_direction Nullable(Int64); +ALTER table tsg_galaxy_v3.session_record_common_server_ip ON CLUSTER ck_query MODIFY column IF EXISTS common_direction Nullable(Int64); + +ALTER table tsg_galaxy_v3.session_record_http_domain_local ON CLUSTER ck_cluster MODIFY column IF EXISTS common_direction Nullable(Int64); +ALTER table tsg_galaxy_v3.session_record_http_domain ON CLUSTER ck_cluster MODIFY column IF EXISTS common_direction Nullable(Int64); +ALTER table tsg_galaxy_v3.session_record_http_domain ON CLUSTER ck_query MODIFY column IF EXISTS common_direction Nullable(Int64); \ No newline at end of file