diff --git a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql index 53a72d7..ab53bb1 100644 --- a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_LOG_ID/Clickhouse_TSG_建表语句.sql @@ -3341,21 +3341,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster doh_cname String, doh_sub Int64, doh_rr String, - rdp_encryption_method String, - rdp_encryption_level String, - rdp_certificate_permanent Int64, - rdp_certificate_count Int64, - rdp_certificate_type String , - rdp_requested_color_depth String, - rdp_desktop_height String, - rdp_desktop_width String, - rdp_client_product_id String, - rdp_client_name String, - rdp_client_version String, - rdp_keyboard_layout String, - rdp_client_channels String, - rdp_security_protocol String, - rdp_cookie String, ssl_version String, ssl_sni String, ssl_san String, @@ -3538,21 +3523,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster ( doh_cname String, doh_sub Int64, doh_rr String, - rdp_encryption_method String, - rdp_encryption_level String, - rdp_certificate_permanent Int64, - rdp_certificate_count Int64, - rdp_certificate_type String , - rdp_requested_color_depth String, - rdp_desktop_height String, - rdp_desktop_width String, - rdp_client_product_id String, - rdp_client_name String, - rdp_client_version String, - rdp_keyboard_layout String, - rdp_client_channels String, - rdp_security_protocol String, - rdp_cookie String, ssl_version String, ssl_sni String, ssl_san String, @@ -3731,21 +3701,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query ( doh_cname String, doh_sub Int64, doh_rr String, - rdp_encryption_method String, - rdp_encryption_level String, - rdp_certificate_permanent Int64, - rdp_certificate_count Int64, - rdp_certificate_type String , - rdp_requested_color_depth String, - rdp_desktop_height String, - rdp_desktop_width String, - rdp_client_product_id String, - rdp_client_name String, - rdp_client_version String, - rdp_keyboard_layout String, - rdp_client_channels String, - rdp_security_protocol String, - rdp_cookie String, ssl_version String, ssl_sni String, ssl_san String, diff --git a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql index f468938..830e6f9 100644 --- a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql @@ -3333,21 +3333,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster doh_cname String, doh_sub Int64, doh_rr String, - rdp_encryption_method String, - rdp_encryption_level String, - rdp_certificate_permanent Int64, - rdp_certificate_count Int64, - rdp_certificate_type String , - rdp_requested_color_depth String, - rdp_desktop_height String, - rdp_desktop_width String, - rdp_client_product_id String, - rdp_client_name String, - rdp_client_version String, - rdp_keyboard_layout String, - rdp_client_channels String, - rdp_security_protocol String, - rdp_cookie String, ssl_version String, ssl_sni String, ssl_san String, @@ -3529,21 +3514,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster ( doh_cname String, doh_sub Int64, doh_rr String, - rdp_encryption_method String, - rdp_encryption_level String, - rdp_certificate_permanent Int64, - rdp_certificate_count Int64, - rdp_certificate_type String , - rdp_requested_color_depth String, - rdp_desktop_height String, - rdp_desktop_width String, - rdp_client_product_id String, - rdp_client_name String, - rdp_client_version String, - rdp_keyboard_layout String, - rdp_client_channels String, - rdp_security_protocol String, - rdp_cookie String, ssl_version String, ssl_sni String, ssl_san String, @@ -3722,21 +3692,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query ( doh_cname String, doh_sub Int64, doh_rr String, - rdp_encryption_method String, - rdp_encryption_level String, - rdp_certificate_permanent Int64, - rdp_certificate_count Int64, - rdp_certificate_type String , - rdp_requested_color_depth String, - rdp_desktop_height String, - rdp_desktop_width String, - rdp_client_product_id String, - rdp_client_name String, - rdp_client_version String, - rdp_keyboard_layout String, - rdp_client_channels String, - rdp_security_protocol String, - rdp_cookie String, ssl_version String, ssl_sni String, ssl_san String, diff --git a/TSG发布版本更新记录/TSG-23.05/clickhouse/update-23.05-ck.sql b/TSG发布版本更新记录/TSG-23.05/clickhouse/update-23.05-ck.sql index e2d0a90..0841bdd 100644 --- a/TSG发布版本更新记录/TSG-23.05/clickhouse/update-23.05-ck.sql +++ b/TSG发布版本更新记录/TSG-23.05/clickhouse/update-23.05-ck.sql @@ -79,4 +79,10 @@ ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query add column IF NOT EXI ALTER table tsg_galaxy_v3.proxy_event_local on cluster ck_cluster add column IF NOT EXISTS ssl_version String after rdp_cookie; ALTER table tsg_galaxy_v3.proxy_event on cluster ck_cluster add column IF NOT EXISTS ssl_version String after rdp_cookie; -ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query add column IF NOT EXISTS ssl_version String after rdp_cookie; \ No newline at end of file +ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query add column IF NOT EXISTS ssl_version String after rdp_cookie; + + + +ALTER TABLE tsg_galaxy_v3.proxy_event_local on cluster ck_cluster DROP COLUMN IF EXISTS rdp_encryption_method, DROP COLUMN IF EXISTS rdp_encryption_level, DROP COLUMN IF EXISTS rdp_certificate_permanent, DROP COLUMN IF EXISTS rdp_certificate_count, DROP COLUMN IF EXISTS rdp_certificate_type, DROP COLUMN IF EXISTS rdp_requested_color_depth, DROP COLUMN IF EXISTS rdp_desktop_height, DROP COLUMN IF EXISTS rdp_desktop_width, DROP COLUMN IF EXISTS rdp_client_product_id, DROP COLUMN IF EXISTS rdp_client_name, DROP COLUMN IF EXISTS rdp_client_version, DROP COLUMN IF EXISTS rdp_keyboard_layout, DROP COLUMN IF EXISTS rdp_client_channels, DROP COLUMN IF EXISTS rdp_security_protocol, DROP COLUMN IF EXISTS rdp_cookie; +ALTER TABLE tsg_galaxy_v3.proxy_event on cluster ck_cluster DROP COLUMN IF EXISTS rdp_encryption_method, DROP COLUMN IF EXISTS rdp_encryption_level, DROP COLUMN IF EXISTS rdp_certificate_permanent, DROP COLUMN IF EXISTS rdp_certificate_count, DROP COLUMN IF EXISTS rdp_certificate_type, DROP COLUMN IF EXISTS rdp_requested_color_depth, DROP COLUMN IF EXISTS rdp_desktop_height, DROP COLUMN IF EXISTS rdp_desktop_width, DROP COLUMN IF EXISTS rdp_client_product_id, DROP COLUMN IF EXISTS rdp_client_name, DROP COLUMN IF EXISTS rdp_client_version, DROP COLUMN IF EXISTS rdp_keyboard_layout, DROP COLUMN IF EXISTS rdp_client_channels, DROP COLUMN IF EXISTS rdp_security_protocol, DROP COLUMN IF EXISTS rdp_cookie; +ALTER TABLE tsg_galaxy_v3.proxy_event on cluster ck_query DROP COLUMN IF EXISTS rdp_encryption_method, DROP COLUMN IF EXISTS rdp_encryption_level, DROP COLUMN IF EXISTS rdp_certificate_permanent, DROP COLUMN IF EXISTS rdp_certificate_count, DROP COLUMN IF EXISTS rdp_certificate_type, DROP COLUMN IF EXISTS rdp_requested_color_depth, DROP COLUMN IF EXISTS rdp_desktop_height, DROP COLUMN IF EXISTS rdp_desktop_width, DROP COLUMN IF EXISTS rdp_client_product_id, DROP COLUMN IF EXISTS rdp_client_name, DROP COLUMN IF EXISTS rdp_client_version, DROP COLUMN IF EXISTS rdp_keyboard_layout, DROP COLUMN IF EXISTS rdp_client_channels, DROP COLUMN IF EXISTS rdp_security_protocol, DROP COLUMN IF EXISTS rdp_cookie;