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