From 2a3ef43a07f0b8015ff3b9d302116b1914e926d9 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Mon, 17 Oct 2022 13:43:21 +0800 Subject: [PATCH] =?UTF-8?q?ck=20tsg=2022.10=E6=9B=B4=E6=96=B0=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=88=A0=E9=99=A4=E7=89=A9=E5=8C=96=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TSG-22.10/clickhouse/update-22.10-ck.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TSG发布版本更新记录/TSG-22.10/clickhouse/update-22.10-ck.sql b/TSG发布版本更新记录/TSG-22.10/clickhouse/update-22.10-ck.sql index 27b22e5..b0f4bef 100644 --- a/TSG发布版本更新记录/TSG-22.10/clickhouse/update-22.10-ck.sql +++ b/TSG发布版本更新记录/TSG-22.10/clickhouse/update-22.10-ck.sql @@ -75,9 +75,9 @@ ALTER table tsg_galaxy_v3.assessment_event_local on cluster ck_cluster MODIFY co ALTER table tsg_galaxy_v3.radius_onff_log_local on cluster ck_cluster MODIFY column IF EXISTS vsys_id Int64 default 1; -drop view tsg_galaxy_v3.common_client_ip; -drop view tsg_galaxy_v3.common_http_domain; -drop view tsg_galaxy_v3.common_server_ip; +drop view IF EXISTS tsg_galaxy_v3.common_client_ip ON CLUSTER ck_cluster; +drop view IF EXISTS tsg_galaxy_v3.common_http_domain ON CLUSTER ck_cluster; +drop view IF EXISTS tsg_galaxy_v3.common_server_ip ON CLUSTER ck_cluster; CREATE MATERIALIZED VIEW IF NOT EXISTS tsg_galaxy_v3.common_client_ip ON CLUSTER ck_cluster TO tsg_galaxy_v3.session_record_common_client_ip_local AS SELECT common_log_id, common_recv_time, common_server_ip, common_client_ip, common_sled_ip, common_entrance_id, common_subscriber_id, common_stream_trace_id, http_domain, ssl_sni, common_schema_type, common_vsys_id, common_client_port, common_server_port, common_app_label, common_direction FROM tsg_galaxy_v3.session_record_local; CREATE MATERIALIZED VIEW IF NOT EXISTS tsg_galaxy_v3.common_http_domain ON CLUSTER ck_cluster TO tsg_galaxy_v3.session_record_http_domain_local AS SELECT common_log_id, common_recv_time, common_server_ip, common_client_ip, common_sled_ip, common_entrance_id, common_subscriber_id, common_stream_trace_id, http_domain, ssl_sni, common_schema_type, common_vsys_id, common_client_port, common_server_port, common_app_label, common_direction FROM tsg_galaxy_v3.session_record_local;