diff --git a/tsg_olap/installation/clickhouse/最新全量建表语句/tsg_olap_clickhouse_ddl.sql b/tsg_olap/installation/clickhouse/最新全量建表语句/tsg_olap_clickhouse_ddl.sql index bfa7279..8d08920 100644 --- a/tsg_olap/installation/clickhouse/最新全量建表语句/tsg_olap_clickhouse_ddl.sql +++ b/tsg_olap/installation/clickhouse/最新全量建表语句/tsg_olap_clickhouse_ddl.sql @@ -3208,9 +3208,9 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.datapath_telemetry_record_local on clus device_group String, traffic_link_id Int32, source_ip String, - source_port Int32, + source_port Nullable(Int32), destination_ip String, - destination_port Int32, + destination_port Nullable(Int32), packet String, packet_length Int32, measurements String @@ -3229,9 +3229,9 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.datapath_telemetry_record on cluster ck device_group String, traffic_link_id Int32, source_ip String, - source_port Int32, + source_port Nullable(Int32), destination_ip String, - destination_port Int32, + destination_port Nullable(Int32), packet String, packet_length Int32, measurements String diff --git a/tsg_olap/installation/clickhouse/最新全量建表语句/旧部署模式建表语句/tsg_olap_clickhouse_ddl.sql b/tsg_olap/installation/clickhouse/最新全量建表语句/旧部署模式建表语句/tsg_olap_clickhouse_ddl.sql index b29b84c..6fd5fc5 100644 --- a/tsg_olap/installation/clickhouse/最新全量建表语句/旧部署模式建表语句/tsg_olap_clickhouse_ddl.sql +++ b/tsg_olap/installation/clickhouse/最新全量建表语句/旧部署模式建表语句/tsg_olap_clickhouse_ddl.sql @@ -4282,9 +4282,9 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.datapath_telemetry_record_local on clus device_group String, traffic_link_id Int32, source_ip String, - source_port Int32, + source_port Nullable(Int32), destination_ip String, - destination_port Int32, + destination_port Nullable(Int32), packet String, packet_length Int32, measurements String @@ -4303,9 +4303,9 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.datapath_telemetry_record on cluster ck device_group String, traffic_link_id Int32, source_ip String, - source_port Int32, + source_port Nullable(Int32), destination_ip String, - destination_port Int32, + destination_port Nullable(Int32), packet String, packet_length Int32, measurements String @@ -4325,9 +4325,9 @@ ENGINE = Distributed('ck_cluster', device_group String, traffic_link_id Int32, source_ip String, - source_port Int32, + source_port Nullable(Int32), destination_ip String, - destination_port Int32, + destination_port Nullable(Int32), packet String, packet_length Int32, measurements String