tsg ck 23.07 删除无用字段

This commit is contained in:
houjinchuan
2023-06-29 17:08:39 +08:00
parent 18c36a51c3
commit d0c77645aa
3 changed files with 23 additions and 228 deletions

View File

@@ -572,8 +572,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -584,8 +582,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -667,12 +663,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -838,8 +828,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -850,8 +838,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -933,12 +919,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -1102,8 +1082,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1114,8 +1092,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -1197,12 +1173,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -1366,8 +1336,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1378,8 +1346,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -1537,8 +1503,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1549,8 +1513,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -1704,8 +1666,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1716,8 +1676,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -2573,8 +2531,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -2585,8 +2541,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -2668,12 +2622,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -2840,8 +2788,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -2852,8 +2798,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -2935,12 +2879,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -3104,8 +3042,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3116,8 +3052,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3199,12 +3133,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -3369,8 +3297,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3381,8 +3307,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3555,8 +3479,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3567,8 +3489,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3737,8 +3657,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3749,8 +3667,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3919,8 +3835,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3931,8 +3845,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -4014,12 +3926,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -4186,8 +4092,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -4198,8 +4102,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -4281,12 +4183,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -4450,8 +4346,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -4462,8 +4356,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -4545,12 +4437,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,

View File

@@ -569,8 +569,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -581,8 +579,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -664,12 +660,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -834,8 +824,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -846,8 +834,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -929,12 +915,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -1098,8 +1078,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1110,8 +1088,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -1193,12 +1169,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -1362,8 +1332,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1374,8 +1342,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -1532,8 +1498,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1544,8 +1508,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -1699,8 +1661,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -1711,8 +1671,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -2566,8 +2524,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -2578,8 +2534,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -2661,12 +2615,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -2832,8 +2780,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -2844,8 +2790,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -2927,12 +2871,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -3096,8 +3034,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3108,8 +3044,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3191,12 +3125,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -3361,8 +3289,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3373,8 +3299,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3546,8 +3470,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3558,8 +3480,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3728,8 +3648,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3740,8 +3658,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -3910,8 +3826,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -3922,8 +3836,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -4005,12 +3917,6 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -4176,8 +4082,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -4188,8 +4092,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -4271,12 +4173,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,
@@ -4440,8 +4336,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
http_response_content String, http_response_content String,
http_request_body String, http_request_body String,
http_response_body String, http_response_body String,
http_request_body_key String,
http_response_body_key String,
http_proxy_flag Int64, http_proxy_flag Int64,
http_sequence Int64, http_sequence Int64,
http_snapshot String, http_snapshot String,
@@ -4452,8 +4346,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
http_request_content_type String, http_request_content_type String,
http_response_content_length String, http_response_content_length String,
http_response_content_type String, http_response_content_type String,
http_content_length String,
http_content_type String,
http_set_cookie String, http_set_cookie String,
http_version String, http_version String,
http_response_latency_ms Int64, http_response_latency_ms Int64,
@@ -4535,12 +4427,6 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
bgp_type Int64, bgp_type Int64,
bgp_as_num String, bgp_as_num String,
bgp_route String, bgp_route String,
voip_calling_account String,
voip_called_account String,
voip_calling_number String,
voip_called_number String,
streaming_media_url String,
streaming_media_protocol String,
app_extra_info String, app_extra_info String,
sip_call_id String, sip_call_id String,
sip_originator_description String, sip_originator_description String,

View File

@@ -0,0 +1,23 @@
set distributed_ddl_task_timeout = 180;
ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.session_record on cluster ck_query drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.security_event on cluster ck_query drop column IF EXISTS voip_calling_account, drop column IF EXISTS voip_called_account, drop column IF EXISTS voip_calling_number, drop column IF EXISTS voip_called_number, drop column IF EXISTS streaming_media_url, drop column IF EXISTS streaming_media_protocol, drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.proxy_event_local on cluster ck_cluster drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.proxy_event on cluster ck_cluster drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.proxy_event on cluster ck_query drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.transaction_record_local on cluster ck_cluster drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.transaction_record on cluster ck_cluster drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;
ALTER table tsg_galaxy_v3.transaction_record on cluster ck_query drop column IF EXISTS http_request_body_key, drop column IF EXISTS http_response_body_key, drop column IF EXISTS http_content_length, drop column IF EXISTS http_content_type;