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 ffbb063..5794ba2 100644 --- a/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/TSG_OLAP_PRIMARY_KEY_VSYS_ID/Clickhouse_TSG_建表语句.sql @@ -140,6 +140,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record_local ON CLUSTER ck_cluster common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -250,6 +251,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_cluster( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -356,6 +358,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_query( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -463,6 +466,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -722,6 +726,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -980,6 +985,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1238,6 +1244,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_ common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1402,6 +1409,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1563,6 +1571,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1724,6 +1733,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record_local ON CLUSTER ck_cluster common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1842,6 +1852,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_cluster( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -1958,6 +1969,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_query( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2074,6 +2086,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event_local ON CLUST common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2180,6 +2193,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2284,6 +2298,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2388,6 +2403,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2648,6 +2664,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -2906,6 +2923,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3165,6 +3183,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3339,6 +3358,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3510,6 +3530,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3681,6 +3702,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -3941,6 +3963,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4199,6 +4222,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4457,6 +4481,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_clust common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4585,6 +4610,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_cluster ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64, @@ -4710,6 +4736,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_query ( common_policy_id Int64, common_user_tags String, common_user_region String, + common_shaping_rule_ids Array(Int64), common_client_ip String, common_internal_ip String, common_client_port Int64,