notebook/996/doirs/sdk_statis.sql
2025-07-25 16:59:05 +08:00

5229 lines
168 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

drop TABLE ads_new_account_ltv_statis;
CREATE TABLE `ads_new_account_ltv_statis` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`new_add` bigint NULL,
`ltv1` bigint NULL,
`ltv2` bigint NULL,
`ltv3` bigint NULL,
`ltv4` bigint NULL,
`ltv5` bigint NULL,
`ltv6` bigint NULL,
`ltv7` bigint NULL,
`ltv8` bigint NULL,
`ltv9` bigint NULL,
`ltv10` bigint NULL,
`ltv11` bigint NULL,
`ltv12` bigint NULL,
`ltv13` bigint NULL,
`ltv14` bigint NULL,
`ltv15` bigint NULL,
`ltv16` bigint NULL,
`ltv17` bigint NULL,
`ltv18` bigint NULL,
`ltv19` bigint NULL,
`ltv20` bigint NULL,
`ltv21` bigint NULL,
`ltv22` bigint NULL,
`ltv23` bigint NULL,
`ltv24` bigint NULL,
`ltv25` bigint NULL,
`ltv26` bigint NULL,
`ltv27` bigint NULL,
`ltv28` bigint NULL,
`ltv29` bigint NULL,
`ltv30` bigint NULL,
`ltv31` bigint NULL,
`ltv45` bigint NULL,
`ltv60` bigint NULL,
`ltv90` bigint NULL,
`ltv120` bigint NULL,
`ltv150` bigint NULL,
`ltv180` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ads_new_device_ltv_statis;
CREATE TABLE `ads_new_device_ltv_statis` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`new_add` bigint NULL,
`ltv1` bigint NULL,
`ltv2` bigint NULL,
`ltv3` bigint NULL,
`ltv4` bigint NULL,
`ltv5` bigint NULL,
`ltv6` bigint NULL,
`ltv7` bigint NULL,
`ltv8` bigint NULL,
`ltv9` bigint NULL,
`ltv10` bigint NULL,
`ltv11` bigint NULL,
`ltv12` bigint NULL,
`ltv13` bigint NULL,
`ltv14` bigint NULL,
`ltv15` bigint NULL,
`ltv16` bigint NULL,
`ltv17` bigint NULL,
`ltv18` bigint NULL,
`ltv19` bigint NULL,
`ltv20` bigint NULL,
`ltv21` bigint NULL,
`ltv22` bigint NULL,
`ltv23` bigint NULL,
`ltv24` bigint NULL,
`ltv25` bigint NULL,
`ltv26` bigint NULL,
`ltv27` bigint NULL,
`ltv28` bigint NULL,
`ltv29` bigint NULL,
`ltv30` bigint NULL,
`ltv31` bigint NULL,
`ltv45` bigint NULL,
`ltv60` bigint NULL,
`ltv90` bigint NULL,
`ltv120` bigint NULL,
`ltv150` bigint NULL,
`ltv180` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ads_new_role_ltv_statis;
CREATE TABLE `ads_new_role_ltv_statis` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`new_add` bigint NULL,
`ltv1` bigint NULL,
`ltv2` bigint NULL,
`ltv3` bigint NULL,
`ltv4` bigint NULL,
`ltv5` bigint NULL,
`ltv6` bigint NULL,
`ltv7` bigint NULL,
`ltv8` bigint NULL,
`ltv9` bigint NULL,
`ltv10` bigint NULL,
`ltv11` bigint NULL,
`ltv12` bigint NULL,
`ltv13` bigint NULL,
`ltv14` bigint NULL,
`ltv15` bigint NULL,
`ltv16` bigint NULL,
`ltv17` bigint NULL,
`ltv18` bigint NULL,
`ltv19` bigint NULL,
`ltv20` bigint NULL,
`ltv21` bigint NULL,
`ltv22` bigint NULL,
`ltv23` bigint NULL,
`ltv24` bigint NULL,
`ltv25` bigint NULL,
`ltv26` bigint NULL,
`ltv27` bigint NULL,
`ltv28` bigint NULL,
`ltv29` bigint NULL,
`ltv30` bigint NULL,
`ltv31` bigint NULL,
`ltv45` bigint NULL,
`ltv60` bigint NULL,
`ltv90` bigint NULL,
`ltv120` bigint NULL,
`ltv150` bigint NULL,
`ltv180` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`, `channel`, `ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dtd_ltv_rollserv_account;
CREATE TABLE `dtd_ltv_rollserv_account` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_account_first_pay;
CREATE TABLE `dwd_account_first_pay` (
`appid` bigint NOT NULL,
`user_id` varchar(64) NOT NULL,
`order_id` varchar(64) NULL,
`event_time` bigint NULL,
`ds` date NULL,
`role_level` varchar(64) NULL,
`channel` varchar(64) NULL,
`prod` varchar(64) NULL,
`amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `user_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_event_analyze_role;
CREATE TABLE `dwd_event_analyze_role` (
`appid` bigint NOT NULL,
`role_id` varchar(64) NOT NULL,
`_update_time_` datetime NULL,
`latest_level` int NULL,
`latest_active_time` int NULL,
`latest_pay_time` int NULL,
`latest_power` bigint NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`payment_amount` bigint NULL,
`payment_number` int NULL,
`latest_user_id` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `role_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_ltv_new_account;
CREATE TABLE `dwd_ltv_new_account` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`amount` bigint NULL,
`order` int NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_ltv_new_device;
CREATE TABLE `dwd_ltv_new_device` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_ltv_new_role;
CREATE TABLE `dwd_ltv_new_role` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`role_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `role_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_newly_account_payment;
CREATE TABLE `dwd_newly_account_payment` (
`appid` int NULL,
`channel` varchar(64) NULL,
`user_id` varchar(64) NULL,
`servid` varchar(64) NULL,
`payment_order` int NULL,
`payment_amount` bigint NULL,
`ds` date NULL
) ENGINE=OLAP
DUPLICATE KEY(`appid`, `channel`)
DISTRIBUTED BY HASH(`ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE dwd_retention_active_account_d;
CREATE TABLE `dwd_retention_active_account_d` (
`ds` varchar(64) NOT NULL,
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`ds`, `appid`, `channel`, `user_id`, `rd`)
DISTRIBUTED BY HASH(`ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_active_account_m;
CREATE TABLE `dwd_retention_active_account_m` (
`ds` varchar(64) NOT NULL,
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`ds`, `appid`, `channel`, `user_id`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_active_account_w;
CREATE TABLE `dwd_retention_active_account_w` (
`ds` varchar(64) NOT NULL,
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`ds`, `appid`, `channel`, `user_id`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_active_device_d;
CREATE TABLE `dwd_retention_active_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` varchar(64) NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_active_device_m;
CREATE TABLE `dwd_retention_active_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` varchar(64) NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_active_device_w;
CREATE TABLE `dwd_retention_active_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` varchar(64) NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_active_role;
CREATE TABLE `dwd_retention_active_role` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`role_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`dt` int NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `role_id`, `ds`, `dt`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_account_d;
CREATE TABLE `dwd_retention_newly_account_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_account_m;
CREATE TABLE `dwd_retention_newly_account_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_account_w;
CREATE TABLE `dwd_retention_newly_account_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_device_d;
CREATE TABLE `dwd_retention_newly_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_device_m;
CREATE TABLE `dwd_retention_newly_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_device_w;
CREATE TABLE `dwd_retention_newly_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_newly_role;
CREATE TABLE `dwd_retention_newly_role` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`role_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`dt` int NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `role_id`, `ds`, `dt`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_npa_repay;
CREATE TABLE `dwd_retention_npa_repay` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`dt` int NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `dt`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_account_d;
CREATE TABLE `dwd_retention_payment_account_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_account_m;
CREATE TABLE `dwd_retention_payment_account_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_account_w;
CREATE TABLE `dwd_retention_payment_account_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_device_d;
CREATE TABLE `dwd_retention_payment_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_device_m;
CREATE TABLE `dwd_retention_payment_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_device_w;
CREATE TABLE `dwd_retention_payment_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `device_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_payment_role;
CREATE TABLE `dwd_retention_payment_role` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`role_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`dt` int NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `role_id`, `ds`, `dt`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dwd_retention_repay_d;
CREATE TABLE `dwd_retention_repay_d` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`rd` int NOT NULL,
`orig_channel` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`, `rd`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dws_event_analyze_account;
CREATE TABLE `dws_event_analyze_account` (
`appid` bigint NOT NULL,
`user_id` varchar(64) NOT NULL,
`_update_time_` datetime NOT NULL,
`channel` varchar(64) NULL,
`register_time` int NULL,
`first_create_role_time` int NULL,
`first_pay_time` int NULL,
`latest_active_time` int NULL,
`latest_pay_time` int NULL,
`total_payment` bigint NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`city_level` smallint NULL,
`area_code` varchar(64) NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`payment_number` int NULL,
`first_pay_amount` bigint NULL,
`first_pay_prod` varchar(64) NULL,
`pre_total_payment` bigint NULL,
`pre_payment_number` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `user_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dws_event_analyze_role;
CREATE TABLE `dws_event_analyze_role` (
`appid` bigint NOT NULL,
`role_id` varchar(64) NOT NULL,
`user_id` varchar(64) NULL,
`job_id` varchar(64) NULL,
`create_time` int NULL,
`latest_level` int NULL,
`first_login_time` int NULL,
`first_pay_time` int NULL,
`latest_active_time` int NULL,
`latest_pay_time` int NULL,
`total_payment` bigint NULL,
`server_id` varchar(64) NULL,
`role_name` varchar(64) NULL,
`server_name` varchar(64) NULL,
`latest_power` bigint NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`is_roll` int NULL,
`channel` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`city_level` smallint NULL,
`area_code` varchar(64) NULL,
`payment_number` int NULL,
`first_pay_amount` bigint NULL,
`first_pay_prod` varchar(64) NULL,
`pre_total_payment` bigint NULL,
`pre_payment_number` bigint NULL,
`first_pay_level` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `role_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE dws_event_analyze_server;
CREATE TABLE `dws_event_analyze_server` (
`appid` bigint NOT NULL,
`server_id` varchar(64) NOT NULL,
`server_name` varchar(64) NULL,
`open_time` bigint NULL,
`merge_time` bigint NULL,
`merge_number` int NULL,
`is_primary` int NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`var16` varchar(64) NULL,
`var17` varchar(64) NULL,
`var18` varchar(64) NULL,
`var19` varchar(64) NULL,
`var20` varchar(64) NULL,
`total_amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `server_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE game_server;
CREATE TABLE `game_server` (
`id` int NULL,
`game_id` int NOT NULL,
`servid` bigint NOT NULL,
`main_servid` bigint NULL,
`name` varchar(50) NULL,
`open_time` bigint NULL,
`space_id` bigint NULL,
`space_type` int NULL,
`engine_version` varchar(255) NULL
) ENGINE=OLAP
UNIQUE KEY(`id`)
DISTRIBUTED BY HASH(`id`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE gm_apply;
CREATE TABLE `gm_apply` (
`id` int NOT NULL COMMENT "主键",
`appkey` char(32) NULL COMMENT "appkey",
`name` varchar(50) NOT NULL COMMENT "标题",
`chart` varchar(10) NULL COMMENT "首字母",
`platform` int NOT NULL COMMENT "1-Android,2-iphone,3-pc",
`desc` varchar(255) NULL COMMENT "描述",
`status` tinyint NOT NULL COMMENT "状态:1-有效,0-失效",
`game_id` int NOT NULL COMMENT "游戏id",
`channel_id` int NOT NULL COMMENT "渠道id",
`uid` int NOT NULL COMMENT "所属用户id",
`account` varchar(50) NOT NULL COMMENT "所属用户账号",
`relation_advert` tinyint NOT NULL COMMENT "关联广告0-否1-是",
`payment_appear_way` tinyint NOT NULL COMMENT "付费上报方式1-服务端上报2-客户端上报",
`advert_callback_way` tinyint NOT NULL COMMENT "事件回传逻辑1激活归因 2注册归因 ",
`active_expire_days` int NOT NULL COMMENT "激活有效期(天)",
`create_time` int NOT NULL COMMENT "创建时间",
`update_time` int NOT NULL COMMENT "更新时间",
`analysis_limit` bigint NOT NULL COMMENT "自定义分析额度",
`event_limit` int NOT NULL COMMENT "自定义分析数量限制",
`analysis_status` tinyint NOT NULL COMMENT "自定义分析限制状态 0.已限制 1.未限制",
`bind_game_id` int NOT NULL COMMENT "绑定游戏id",
`bind_type` tinyint NOT NULL COMMENT "0-常规应用,1-游戏默认应用",
`bind_appid` int NOT NULL COMMENT "绑定的默认应用appid",
`analysis_used` bigint NOT NULL COMMENT "自定义分析已用额度",
`bind_game_type` tinyint NOT NULL COMMENT "游戏绑定类型0-默认|1-传奇|2-传世|3-仙侠|4-传3",
`app_id` char(32) NULL COMMENT "appid",
`demo` tinyint NOT NULL COMMENT "demo数据展示1-展示",
`event_report` tinyint NOT NULL COMMENT "是否生成默认报表1-是",
`engine_push_sw` int NULL COMMENT "引擎上报开关二进制表示法参考model",
`qq` varchar(32) NOT NULL DEFAULT "" COMMENT "qq",
`prodid` text NOT NULL COMMENT "prodid和名称关系",
`prodid_time` int NOT NULL COMMENT "申请时间",
`analysis_full_time` int NULL COMMENT "自定义分析额度满额时间",
`return_account_status` tinyint NULL COMMENT "回流账号判断 0关闭 1开启"
) ENGINE=OLAP
UNIQUE KEY(`id`)
DISTRIBUTED BY HASH(`id`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_active_account;
CREATE TABLE `ods_active_account` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`user_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`servid` varchar(64) NULL,
`role_id` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `user_id`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_active_device;
CREATE TABLE `ods_active_device` (
`appid` bigint NOT NULL,
`device_id` varchar(64) NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`servid` varchar(64) NULL,
`role_id` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `device_id`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_active_role;
CREATE TABLE `ods_active_role` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`role_id` varchar(64) NOT NULL,
`ds` date NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_id` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`servid` varchar(64) NULL,
`job_id` varchar(64) NULL,
`role_level` varchar(64) NULL,
`role_name` varchar(64) NULL,
`job_name` varchar(64) NULL,
`server_name` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `role_id`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_anti_plugin;
CREATE TABLE `ods_anti_plugin` (
`appid` int NOT NULL,
`channel_id` int NULL,
`device_id` varchar(64) NOT NULL,
`game_id` int NULL,
`servid` bigint NULL,
`user_id` varchar(64) NULL,
`role_id` varchar(64) NULL,
`ip` varchar(64) NULL,
`location` varchar(64) NULL,
`env_risk` varchar(64) NULL,
`plug_risk` varchar(64) NULL,
`other_risk` varchar(64) NULL,
`event_time` datetime NOT NULL
) ENGINE=OLAP
DUPLICATE KEY(`appid`, `channel_id`, `device_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_apm_crash;
CREATE TABLE `ods_apm_crash` (
`guid` bigint NOT NULL,
`errno` varchar(64) NULL,
`gmid` bigint NULL,
`appid` bigint NULL,
`app_id` varchar(64) NULL,
`app_ver` varchar(64) NULL,
`app_pkg` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`cpu_abi` varchar(64) NULL,
`device_ram` int NULL,
`avail_ram` int NULL,
`device_hdd` int NULL,
`avail_hdd` int NULL,
`is_root` smallint NULL,
`is_front` smallint NULL,
`battery_temp` varchar(64) NULL,
`cpu_usage` varchar(64) NULL,
`use_time` bigint NULL,
`crash_file` varchar(64) NULL,
`crash_type` varchar(64) NULL,
`brief_content` varchar(64) NULL,
`brief_title` varchar(64) NULL,
`is_parsed` smallint NULL,
`net_type` varchar(64) NULL,
`user_id` varchar(64) NULL,
`server_id` varchar(64) NULL,
`report_time` datetime NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`guid`)
DISTRIBUTED BY HASH(`guid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_app_statis4ad;
CREATE TABLE `ods_app_statis4ad` (
`appid` bigint NOT NULL,
`user_id` varchar(64) NOT NULL,
`role_id` varchar(64) NOT NULL,
`channel` varchar(64) NULL,
`ds` date NOT NULL,
`hh` varchar(8) NULL,
`event_time` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `user_id`, `role_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_event_analyze_task;
CREATE TABLE `ods_event_analyze_task` (
`id` bigint NOT NULL,
`task_type` varchar(64) NOT NULL,
`code` varchar(64) NOT NULL,
`params` varchar(64) NOT NULL,
`run_type` int NULL,
`cron_express` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`id`, `task_type`)
DISTRIBUTED BY HASH(`id`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_game_pm_log;
CREATE TABLE `ods_game_pm_log` (
`gmid` bigint NOT NULL,
`appid` bigint NOT NULL,
`app_id` varchar(64) NOT NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NOT NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NOT NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_name` varchar(64) NOT NULL,
`event_type` varchar(64) NULL,
`event_time` datetime NOT NULL,
`net_type` varchar(64) NULL,
`user_id` varchar(64) NULL,
`order_id` varchar(64) NULL,
`amount` bigint NULL,
`platform` varchar(64) NULL,
`status` int NULL,
`servid` varchar(64) NULL,
`server_name` varchar(64) NULL,
`role_id` varchar(64) NULL,
`role_name` varchar(64) NULL,
`role_level` varchar(64) NULL,
`job_id` varchar(64) NULL,
`job_name` varchar(64) NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`var16` varchar(64) NULL,
`var17` varchar(64) NULL,
`var18` varchar(64) NULL,
`var19` varchar(64) NULL,
`var20` varchar(64) NULL,
`var21` varchar(64) NULL,
`var22` varchar(64) NULL,
`var23` varchar(64) NULL,
`var24` varchar(64) NULL,
`var25` varchar(64) NULL,
`var26` varchar(64) NULL,
`var27` varchar(64) NULL,
`var28` varchar(64) NULL,
`var29` varchar(64) NULL,
`var30` varchar(64) NULL,
`ds` date NOT NULL,
`prodid` varchar(64) NULL,
`prod_name` varchar(64) NULL,
`sub_servid` varchar(64) NULL,
`sub_server_name` varchar(64) NULL
) ENGINE=OLAP
DUPLICATE KEY(`gmid`, `appid`, `app_id`)
PARTITION BY RANGE(`ds`)
(PARTITION p_20250708 VALUES [('2025-07-08'), ('2025-07-09')),
PARTITION p_20250709 VALUES [('2025-07-09'), ('2025-07-10')),
PARTITION p_20250710 VALUES [('2025-07-10'), ('2025-07-11')),
PARTITION p_20250711 VALUES [('2025-07-11'), ('2025-07-12')),
PARTITION p_20250712 VALUES [('2025-07-12'), ('2025-07-13')),
PARTITION p_20250713 VALUES [('2025-07-13'), ('2025-07-14')),
PARTITION p_20250714 VALUES [('2025-07-14'), ('2025-07-15')),
PARTITION p_20250715 VALUES [('2025-07-15'), ('2025-07-16')),
PARTITION p_20250716 VALUES [('2025-07-16'), ('2025-07-17')),
PARTITION p_20250717 VALUES [('2025-07-17'), ('2025-07-18')),
PARTITION p_20250718 VALUES [('2025-07-18'), ('2025-07-19')),
PARTITION p_20250719 VALUES [('2025-07-19'), ('2025-07-20')),
PARTITION p_20250720 VALUES [('2025-07-20'), ('2025-07-21')),
PARTITION p_20250721 VALUES [('2025-07-21'), ('2025-07-22')),
PARTITION p_20250722 VALUES [('2025-07-22'), ('2025-07-23')),
PARTITION p_20250723 VALUES [('2025-07-23'), ('2025-07-24')),
PARTITION p_20250724 VALUES [('2025-07-24'), ('2025-07-25')),
PARTITION p_20250725 VALUES [('2025-07-25'), ('2025-07-26')),
PARTITION p_20250726 VALUES [('2025-07-26'), ('2025-07-27')))
DISTRIBUTED BY HASH(`ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.time_zone" = "Asia/Shanghai",
"dynamic_partition.start" = "-15",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p_",
"dynamic_partition.replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"dynamic_partition.buckets" = "32",
"dynamic_partition.create_history_partition" = "true",
"dynamic_partition.history_partition_num" = "-1",
"dynamic_partition.hot_partition_num" = "0",
"dynamic_partition.reserved_history_periods" = "NULL",
"dynamic_partition.storage_policy" = "",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_newly_account;
CREATE TABLE `ods_newly_account` (
`appid` bigint NOT NULL,
`user_id` varchar(64) NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`ds` date NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `user_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_newly_device;
CREATE TABLE `ods_newly_device` (
`appid` bigint NOT NULL,
`device_id` varchar(64) NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`ds` date NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `device_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_newly_role;
CREATE TABLE `ods_newly_role` (
`appid` bigint NOT NULL,
`role_id` varchar(64) NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_id` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`servid` varchar(64) NULL,
`ds` date NOT NULL,
`job_id` varchar(64) NULL,
`role_level` varchar(64) NULL,
`role_name` varchar(64) NULL,
`job_name` varchar(64) NULL,
`server_name` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `role_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_payment_object;
CREATE TABLE `ods_payment_object` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`typd` varchar(64) NOT NULL,
`typv` varchar(64) NOT NULL,
`ds` date NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`event_time` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `typd`, `typv`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_payment_order;
CREATE TABLE `ods_payment_order` (
`appid` bigint NOT NULL,
`order_id` varchar(64) NOT NULL,
`status` int NOT NULL,
`gmid` bigint NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_id` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`amount` bigint NULL,
`platform` varchar(64) NULL,
`servid` varchar(64) NULL,
`role_id` varchar(64) NULL,
`prodid` varchar(64) NULL,
`prod_name` varchar(64) NULL,
`ds` date NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `order_id`, `status`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_risk_detail;
CREATE TABLE `ods_risk_detail` (
`appid` int NOT NULL,
`channel_id` int NULL,
`device_id` varchar(64) NULL,
`game_id` int NULL,
`servid` bigint NULL,
`user_id` varchar(64) NULL,
`role_id` varchar(64) NULL,
`ip` varchar(64) NULL,
`location` varchar(64) NULL,
`env_risk` varchar(64) NULL,
`plug_risk` varchar(64) NULL,
`other_risk` varchar(64) NULL,
`event_time` datetime NOT NULL
) ENGINE=OLAP
DUPLICATE KEY(`appid`, `channel_id`, `device_id`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_risk_device;
CREATE TABLE `ods_risk_device` (
`appid` int NOT NULL,
`device_id` varchar(64) NOT NULL,
`ds` varchar(64) NOT NULL,
`channel_id` varchar(64) NULL,
`game_id` int NULL,
`servid` bigint NULL,
`user_id` varchar(64) NULL,
`role_id` varchar(64) NULL,
`ip` varchar(64) NULL,
`location` varchar(64) NULL,
`env_risk` varchar(64) NULL,
`plug_risk` varchar(64) NULL,
`other_risk` varchar(64) NULL,
`event_time` datetime NOT NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `device_id`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_rollserv_account;
CREATE TABLE `ods_rollserv_account` (
`gmid` int NULL,
`appid` int NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_id` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`servid` varchar(64) NULL,
`role_id` varchar(64) NULL,
`job_id` varchar(64) NULL,
`role_level` varchar(64) NULL,
`role_name` varchar(64) NULL,
`job_name` varchar(64) NULL,
`ds` date NOT NULL
) ENGINE=OLAP
DUPLICATE KEY(`gmid`, `appid`, `app_ver`)
PARTITION BY RANGE(`ds`)
(PARTITION p_20250622 VALUES [('2025-06-22'), ('2025-06-23')),
PARTITION p_20250623 VALUES [('2025-06-23'), ('2025-06-24')),
PARTITION p_20250624 VALUES [('2025-06-24'), ('2025-06-25')),
PARTITION p_20250625 VALUES [('2025-06-25'), ('2025-06-26')),
PARTITION p_20250626 VALUES [('2025-06-26'), ('2025-06-27')),
PARTITION p_20250627 VALUES [('2025-06-27'), ('2025-06-28')),
PARTITION p_20250628 VALUES [('2025-06-28'), ('2025-06-29')),
PARTITION p_20250629 VALUES [('2025-06-29'), ('2025-06-30')),
PARTITION p_20250630 VALUES [('2025-06-30'), ('2025-07-01')),
PARTITION p_20250701 VALUES [('2025-07-01'), ('2025-07-02')),
PARTITION p_20250702 VALUES [('2025-07-02'), ('2025-07-03')),
PARTITION p_20250703 VALUES [('2025-07-03'), ('2025-07-04')),
PARTITION p_20250704 VALUES [('2025-07-04'), ('2025-07-05')),
PARTITION p_20250705 VALUES [('2025-07-05'), ('2025-07-06')),
PARTITION p_20250706 VALUES [('2025-07-06'), ('2025-07-07')),
PARTITION p_20250707 VALUES [('2025-07-07'), ('2025-07-08')),
PARTITION p_20250708 VALUES [('2025-07-08'), ('2025-07-09')),
PARTITION p_20250709 VALUES [('2025-07-09'), ('2025-07-10')),
PARTITION p_20250710 VALUES [('2025-07-10'), ('2025-07-11')),
PARTITION p_20250711 VALUES [('2025-07-11'), ('2025-07-12')),
PARTITION p_20250712 VALUES [('2025-07-12'), ('2025-07-13')),
PARTITION p_20250713 VALUES [('2025-07-13'), ('2025-07-14')),
PARTITION p_20250714 VALUES [('2025-07-14'), ('2025-07-15')),
PARTITION p_20250715 VALUES [('2025-07-15'), ('2025-07-16')),
PARTITION p_20250716 VALUES [('2025-07-16'), ('2025-07-17')),
PARTITION p_20250717 VALUES [('2025-07-17'), ('2025-07-18')),
PARTITION p_20250718 VALUES [('2025-07-18'), ('2025-07-19')),
PARTITION p_20250719 VALUES [('2025-07-19'), ('2025-07-20')),
PARTITION p_20250720 VALUES [('2025-07-20'), ('2025-07-21')),
PARTITION p_20250721 VALUES [('2025-07-21'), ('2025-07-22')),
PARTITION p_20250722 VALUES [('2025-07-22'), ('2025-07-23')),
PARTITION p_20250723 VALUES [('2025-07-23'), ('2025-07-24')),
PARTITION p_20250724 VALUES [('2025-07-24'), ('2025-07-25')),
PARTITION p_20250725 VALUES [('2025-07-25'), ('2025-07-26')),
PARTITION p_20250726 VALUES [('2025-07-26'), ('2025-07-27')))
DISTRIBUTED BY HASH(`ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.time_zone" = "Asia/Shanghai",
"dynamic_partition.start" = "-31",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p_",
"dynamic_partition.replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"dynamic_partition.buckets" = "32",
"dynamic_partition.create_history_partition" = "true",
"dynamic_partition.history_partition_num" = "-1",
"dynamic_partition.hot_partition_num" = "0",
"dynamic_partition.reserved_history_periods" = "NULL",
"dynamic_partition.storage_policy" = "",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_rollserv_account_r;
CREATE TABLE `ods_rollserv_account_r` (
`gmid` int NULL,
`appid` int NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_id` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_time` bigint NULL,
`user_id` varchar(64) NULL,
`servid` varchar(64) NULL,
`role_id` varchar(64) NULL,
`job_id` varchar(64) NULL,
`role_level` varchar(64) NULL,
`role_name` varchar(64) NULL,
`job_name` varchar(64) NULL,
`ds` date NULL
) ENGINE=OLAP
DUPLICATE KEY(`gmid`, `appid`, `app_ver`)
DISTRIBUTED BY HASH(`gmid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_server_user;
CREATE TABLE `ods_server_user` (
`game_id` int NOT NULL,
`server_id` int NOT NULL,
`user_account` varchar(64) NOT NULL,
`role_id` varchar(64) NULL,
`role_name` varchar(64) NULL,
`platform_id` varchar(64) NULL,
`create_time` datetime NULL,
`ds` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`game_id`, `server_id`, `user_account`)
DISTRIBUTED BY HASH(`game_id`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE ods_track_log;
CREATE TABLE `ods_track_log` (
`gmid` bigint NOT NULL,
`appid` bigint NOT NULL,
`app_id` varchar(64) NOT NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NOT NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_name` varchar(64) NOT NULL,
`event_type` varchar(64) NULL,
`event_time` bigint NOT NULL,
`net_type` varchar(64) NULL,
`user_id` varchar(64) NULL,
`order_id` varchar(64) NULL,
`amount` bigint NULL,
`platform` varchar(64) NULL,
`status` int NULL,
`servid` varchar(64) NULL,
`server_name` varchar(64) NULL,
`role_id` varchar(64) NULL,
`role_name` varchar(64) NULL,
`role_level` varchar(64) NULL,
`job_id` varchar(64) NULL,
`job_name` varchar(64) NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`var16` varchar(64) NULL,
`var17` varchar(64) NULL,
`var18` varchar(64) NULL,
`var19` varchar(64) NULL,
`var20` varchar(64) NULL,
`var21` varchar(64) NULL,
`var22` varchar(64) NULL,
`var23` varchar(64) NULL,
`var24` varchar(64) NULL,
`var25` varchar(64) NULL,
`var26` varchar(64) NULL,
`var27` varchar(64) NULL,
`var28` varchar(64) NULL,
`var29` varchar(64) NULL,
`var30` varchar(64) NULL,
`ds` date NOT NULL,
`prodid` varchar(64) NULL,
`prod_name` varchar(64) NULL,
`sub_servid` varchar(64) NULL,
`sub_server_name` varchar(64) NULL
) ENGINE=OLAP
DUPLICATE KEY(`gmid`, `appid`, `app_id`)
PARTITION BY RANGE(`ds`)
(PARTITION p_20250114 VALUES [('2025-01-14'), ('2025-01-15')),
PARTITION p_20250115 VALUES [('2025-01-15'), ('2025-01-16')),
PARTITION p_20250116 VALUES [('2025-01-16'), ('2025-01-17')),
PARTITION p_20250117 VALUES [('2025-01-17'), ('2025-01-18')),
PARTITION p_20250118 VALUES [('2025-01-18'), ('2025-01-19')),
PARTITION p_20250119 VALUES [('2025-01-19'), ('2025-01-20')),
PARTITION p_20250120 VALUES [('2025-01-20'), ('2025-01-21')),
PARTITION p_20250121 VALUES [('2025-01-21'), ('2025-01-22')),
PARTITION p_20250122 VALUES [('2025-01-22'), ('2025-01-23')),
PARTITION p_20250123 VALUES [('2025-01-23'), ('2025-01-24')),
PARTITION p_20250124 VALUES [('2025-01-24'), ('2025-01-25')),
PARTITION p_20250125 VALUES [('2025-01-25'), ('2025-01-26')),
PARTITION p_20250126 VALUES [('2025-01-26'), ('2025-01-27')),
PARTITION p_20250127 VALUES [('2025-01-27'), ('2025-01-28')),
PARTITION p_20250128 VALUES [('2025-01-28'), ('2025-01-29')),
PARTITION p_20250129 VALUES [('2025-01-29'), ('2025-01-30')),
PARTITION p_20250130 VALUES [('2025-01-30'), ('2025-01-31')),
PARTITION p_20250131 VALUES [('2025-01-31'), ('2025-02-01')),
PARTITION p_20250201 VALUES [('2025-02-01'), ('2025-02-02')),
PARTITION p_20250202 VALUES [('2025-02-02'), ('2025-02-03')),
PARTITION p_20250203 VALUES [('2025-02-03'), ('2025-02-04')),
PARTITION p_20250204 VALUES [('2025-02-04'), ('2025-02-05')),
PARTITION p_20250205 VALUES [('2025-02-05'), ('2025-02-06')),
PARTITION p_20250206 VALUES [('2025-02-06'), ('2025-02-07')),
PARTITION p_20250207 VALUES [('2025-02-07'), ('2025-02-08')),
PARTITION p_20250208 VALUES [('2025-02-08'), ('2025-02-09')),
PARTITION p_20250209 VALUES [('2025-02-09'), ('2025-02-10')),
PARTITION p_20250210 VALUES [('2025-02-10'), ('2025-02-11')),
PARTITION p_20250211 VALUES [('2025-02-11'), ('2025-02-12')),
PARTITION p_20250212 VALUES [('2025-02-12'), ('2025-02-13')),
PARTITION p_20250213 VALUES [('2025-02-13'), ('2025-02-14')),
PARTITION p_20250214 VALUES [('2025-02-14'), ('2025-02-15')),
PARTITION p_20250215 VALUES [('2025-02-15'), ('2025-02-16')),
PARTITION p_20250216 VALUES [('2025-02-16'), ('2025-02-17')),
PARTITION p_20250217 VALUES [('2025-02-17'), ('2025-02-18')),
PARTITION p_20250218 VALUES [('2025-02-18'), ('2025-02-19')),
PARTITION p_20250219 VALUES [('2025-02-19'), ('2025-02-20')),
PARTITION p_20250220 VALUES [('2025-02-20'), ('2025-02-21')),
PARTITION p_20250221 VALUES [('2025-02-21'), ('2025-02-22')),
PARTITION p_20250222 VALUES [('2025-02-22'), ('2025-02-23')),
PARTITION p_20250223 VALUES [('2025-02-23'), ('2025-02-24')),
PARTITION p_20250224 VALUES [('2025-02-24'), ('2025-02-25')),
PARTITION p_20250225 VALUES [('2025-02-25'), ('2025-02-26')),
PARTITION p_20250226 VALUES [('2025-02-26'), ('2025-02-27')),
PARTITION p_20250227 VALUES [('2025-02-27'), ('2025-02-28')),
PARTITION p_20250228 VALUES [('2025-02-28'), ('2025-03-01')),
PARTITION p_20250301 VALUES [('2025-03-01'), ('2025-03-02')),
PARTITION p_20250302 VALUES [('2025-03-02'), ('2025-03-03')),
PARTITION p_20250303 VALUES [('2025-03-03'), ('2025-03-04')),
PARTITION p_20250304 VALUES [('2025-03-04'), ('2025-03-05')),
PARTITION p_20250305 VALUES [('2025-03-05'), ('2025-03-06')),
PARTITION p_20250306 VALUES [('2025-03-06'), ('2025-03-07')),
PARTITION p_20250307 VALUES [('2025-03-07'), ('2025-03-08')),
PARTITION p_20250308 VALUES [('2025-03-08'), ('2025-03-09')),
PARTITION p_20250309 VALUES [('2025-03-09'), ('2025-03-10')),
PARTITION p_20250310 VALUES [('2025-03-10'), ('2025-03-11')),
PARTITION p_20250311 VALUES [('2025-03-11'), ('2025-03-12')),
PARTITION p_20250312 VALUES [('2025-03-12'), ('2025-03-13')),
PARTITION p_20250313 VALUES [('2025-03-13'), ('2025-03-14')),
PARTITION p_20250314 VALUES [('2025-03-14'), ('2025-03-15')),
PARTITION p_20250315 VALUES [('2025-03-15'), ('2025-03-16')),
PARTITION p_20250316 VALUES [('2025-03-16'), ('2025-03-17')),
PARTITION p_20250317 VALUES [('2025-03-17'), ('2025-03-18')),
PARTITION p_20250318 VALUES [('2025-03-18'), ('2025-03-19')),
PARTITION p_20250319 VALUES [('2025-03-19'), ('2025-03-20')),
PARTITION p_20250320 VALUES [('2025-03-20'), ('2025-03-21')),
PARTITION p_20250321 VALUES [('2025-03-21'), ('2025-03-22')),
PARTITION p_20250322 VALUES [('2025-03-22'), ('2025-03-23')),
PARTITION p_20250323 VALUES [('2025-03-23'), ('2025-03-24')),
PARTITION p_20250324 VALUES [('2025-03-24'), ('2025-03-25')),
PARTITION p_20250325 VALUES [('2025-03-25'), ('2025-03-26')),
PARTITION p_20250326 VALUES [('2025-03-26'), ('2025-03-27')),
PARTITION p_20250327 VALUES [('2025-03-27'), ('2025-03-28')),
PARTITION p_20250328 VALUES [('2025-03-28'), ('2025-03-29')),
PARTITION p_20250329 VALUES [('2025-03-29'), ('2025-03-30')),
PARTITION p_20250330 VALUES [('2025-03-30'), ('2025-03-31')),
PARTITION p_20250331 VALUES [('2025-03-31'), ('2025-04-01')),
PARTITION p_20250401 VALUES [('2025-04-01'), ('2025-04-02')),
PARTITION p_20250402 VALUES [('2025-04-02'), ('2025-04-03')),
PARTITION p_20250403 VALUES [('2025-04-03'), ('2025-04-04')),
PARTITION p_20250404 VALUES [('2025-04-04'), ('2025-04-05')),
PARTITION p_20250405 VALUES [('2025-04-05'), ('2025-04-06')),
PARTITION p_20250406 VALUES [('2025-04-06'), ('2025-04-07')),
PARTITION p_20250407 VALUES [('2025-04-07'), ('2025-04-08')),
PARTITION p_20250408 VALUES [('2025-04-08'), ('2025-04-09')),
PARTITION p_20250409 VALUES [('2025-04-09'), ('2025-04-10')),
PARTITION p_20250410 VALUES [('2025-04-10'), ('2025-04-11')),
PARTITION p_20250411 VALUES [('2025-04-11'), ('2025-04-12')),
PARTITION p_20250412 VALUES [('2025-04-12'), ('2025-04-13')),
PARTITION p_20250413 VALUES [('2025-04-13'), ('2025-04-14')),
PARTITION p_20250414 VALUES [('2025-04-14'), ('2025-04-15')),
PARTITION p_20250415 VALUES [('2025-04-15'), ('2025-04-16')),
PARTITION p_20250416 VALUES [('2025-04-16'), ('2025-04-17')),
PARTITION p_20250417 VALUES [('2025-04-17'), ('2025-04-18')),
PARTITION p_20250418 VALUES [('2025-04-18'), ('2025-04-19')),
PARTITION p_20250419 VALUES [('2025-04-19'), ('2025-04-20')),
PARTITION p_20250420 VALUES [('2025-04-20'), ('2025-04-21')),
PARTITION p_20250421 VALUES [('2025-04-21'), ('2025-04-22')),
PARTITION p_20250422 VALUES [('2025-04-22'), ('2025-04-23')),
PARTITION p_20250423 VALUES [('2025-04-23'), ('2025-04-24')),
PARTITION p_20250424 VALUES [('2025-04-24'), ('2025-04-25')),
PARTITION p_20250425 VALUES [('2025-04-25'), ('2025-04-26')),
PARTITION p_20250426 VALUES [('2025-04-26'), ('2025-04-27')),
PARTITION p_20250427 VALUES [('2025-04-27'), ('2025-04-28')),
PARTITION p_20250428 VALUES [('2025-04-28'), ('2025-04-29')),
PARTITION p_20250429 VALUES [('2025-04-29'), ('2025-04-30')),
PARTITION p_20250430 VALUES [('2025-04-30'), ('2025-05-01')),
PARTITION p_20250501 VALUES [('2025-05-01'), ('2025-05-02')),
PARTITION p_20250502 VALUES [('2025-05-02'), ('2025-05-03')),
PARTITION p_20250503 VALUES [('2025-05-03'), ('2025-05-04')),
PARTITION p_20250504 VALUES [('2025-05-04'), ('2025-05-05')),
PARTITION p_20250505 VALUES [('2025-05-05'), ('2025-05-06')),
PARTITION p_20250506 VALUES [('2025-05-06'), ('2025-05-07')),
PARTITION p_20250507 VALUES [('2025-05-07'), ('2025-05-08')),
PARTITION p_20250508 VALUES [('2025-05-08'), ('2025-05-09')),
PARTITION p_20250509 VALUES [('2025-05-09'), ('2025-05-10')),
PARTITION p_20250510 VALUES [('2025-05-10'), ('2025-05-11')),
PARTITION p_20250511 VALUES [('2025-05-11'), ('2025-05-12')),
PARTITION p_20250512 VALUES [('2025-05-12'), ('2025-05-13')),
PARTITION p_20250513 VALUES [('2025-05-13'), ('2025-05-14')),
PARTITION p_20250514 VALUES [('2025-05-14'), ('2025-05-15')),
PARTITION p_20250515 VALUES [('2025-05-15'), ('2025-05-16')),
PARTITION p_20250516 VALUES [('2025-05-16'), ('2025-05-17')),
PARTITION p_20250517 VALUES [('2025-05-17'), ('2025-05-18')),
PARTITION p_20250518 VALUES [('2025-05-18'), ('2025-05-19')),
PARTITION p_20250519 VALUES [('2025-05-19'), ('2025-05-20')),
PARTITION p_20250520 VALUES [('2025-05-20'), ('2025-05-21')),
PARTITION p_20250521 VALUES [('2025-05-21'), ('2025-05-22')),
PARTITION p_20250522 VALUES [('2025-05-22'), ('2025-05-23')),
PARTITION p_20250523 VALUES [('2025-05-23'), ('2025-05-24')),
PARTITION p_20250524 VALUES [('2025-05-24'), ('2025-05-25')),
PARTITION p_20250525 VALUES [('2025-05-25'), ('2025-05-26')),
PARTITION p_20250526 VALUES [('2025-05-26'), ('2025-05-27')),
PARTITION p_20250527 VALUES [('2025-05-27'), ('2025-05-28')),
PARTITION p_20250528 VALUES [('2025-05-28'), ('2025-05-29')),
PARTITION p_20250529 VALUES [('2025-05-29'), ('2025-05-30')),
PARTITION p_20250530 VALUES [('2025-05-30'), ('2025-05-31')),
PARTITION p_20250531 VALUES [('2025-05-31'), ('2025-06-01')),
PARTITION p_20250601 VALUES [('2025-06-01'), ('2025-06-02')),
PARTITION p_20250602 VALUES [('2025-06-02'), ('2025-06-03')),
PARTITION p_20250603 VALUES [('2025-06-03'), ('2025-06-04')),
PARTITION p_20250604 VALUES [('2025-06-04'), ('2025-06-05')),
PARTITION p_20250605 VALUES [('2025-06-05'), ('2025-06-06')),
PARTITION p_20250606 VALUES [('2025-06-06'), ('2025-06-07')),
PARTITION p_20250607 VALUES [('2025-06-07'), ('2025-06-08')),
PARTITION p_20250608 VALUES [('2025-06-08'), ('2025-06-09')),
PARTITION p_20250609 VALUES [('2025-06-09'), ('2025-06-10')),
PARTITION p_20250610 VALUES [('2025-06-10'), ('2025-06-11')),
PARTITION p_20250611 VALUES [('2025-06-11'), ('2025-06-12')),
PARTITION p_20250612 VALUES [('2025-06-12'), ('2025-06-13')),
PARTITION p_20250613 VALUES [('2025-06-13'), ('2025-06-14')),
PARTITION p_20250614 VALUES [('2025-06-14'), ('2025-06-15')),
PARTITION p_20250615 VALUES [('2025-06-15'), ('2025-06-16')),
PARTITION p_20250616 VALUES [('2025-06-16'), ('2025-06-17')),
PARTITION p_20250617 VALUES [('2025-06-17'), ('2025-06-18')),
PARTITION p_20250618 VALUES [('2025-06-18'), ('2025-06-19')),
PARTITION p_20250619 VALUES [('2025-06-19'), ('2025-06-20')),
PARTITION p_20250620 VALUES [('2025-06-20'), ('2025-06-21')),
PARTITION p_20250621 VALUES [('2025-06-21'), ('2025-06-22')),
PARTITION p_20250622 VALUES [('2025-06-22'), ('2025-06-23')),
PARTITION p_20250623 VALUES [('2025-06-23'), ('2025-06-24')),
PARTITION p_20250624 VALUES [('2025-06-24'), ('2025-06-25')),
PARTITION p_20250625 VALUES [('2025-06-25'), ('2025-06-26')),
PARTITION p_20250626 VALUES [('2025-06-26'), ('2025-06-27')),
PARTITION p_20250627 VALUES [('2025-06-27'), ('2025-06-28')),
PARTITION p_20250628 VALUES [('2025-06-28'), ('2025-06-29')),
PARTITION p_20250629 VALUES [('2025-06-29'), ('2025-06-30')),
PARTITION p_20250630 VALUES [('2025-06-30'), ('2025-07-01')),
PARTITION p_20250701 VALUES [('2025-07-01'), ('2025-07-02')),
PARTITION p_20250702 VALUES [('2025-07-02'), ('2025-07-03')),
PARTITION p_20250703 VALUES [('2025-07-03'), ('2025-07-04')),
PARTITION p_20250704 VALUES [('2025-07-04'), ('2025-07-05')),
PARTITION p_20250705 VALUES [('2025-07-05'), ('2025-07-06')),
PARTITION p_20250706 VALUES [('2025-07-06'), ('2025-07-07')),
PARTITION p_20250707 VALUES [('2025-07-07'), ('2025-07-08')),
PARTITION p_20250708 VALUES [('2025-07-08'), ('2025-07-09')),
PARTITION p_20250709 VALUES [('2025-07-09'), ('2025-07-10')),
PARTITION p_20250710 VALUES [('2025-07-10'), ('2025-07-11')),
PARTITION p_20250711 VALUES [('2025-07-11'), ('2025-07-12')),
PARTITION p_20250712 VALUES [('2025-07-12'), ('2025-07-13')),
PARTITION p_20250713 VALUES [('2025-07-13'), ('2025-07-14')),
PARTITION p_20250714 VALUES [('2025-07-14'), ('2025-07-15')),
PARTITION p_20250715 VALUES [('2025-07-15'), ('2025-07-16')),
PARTITION p_20250716 VALUES [('2025-07-16'), ('2025-07-17')),
PARTITION p_20250717 VALUES [('2025-07-17'), ('2025-07-18')),
PARTITION p_20250718 VALUES [('2025-07-18'), ('2025-07-19')),
PARTITION p_20250719 VALUES [('2025-07-19'), ('2025-07-20')),
PARTITION p_20250720 VALUES [('2025-07-20'), ('2025-07-21')),
PARTITION p_20250721 VALUES [('2025-07-21'), ('2025-07-22')),
PARTITION p_20250722 VALUES [('2025-07-22'), ('2025-07-23')),
PARTITION p_20250723 VALUES [('2025-07-23'), ('2025-07-24')),
PARTITION p_20250724 VALUES [('2025-07-24'), ('2025-07-25')),
PARTITION p_20250725 VALUES [('2025-07-25'), ('2025-07-26')),
PARTITION p_20250726 VALUES [('2025-07-26'), ('2025-07-27')))
DISTRIBUTED BY HASH(`ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.time_zone" = "Asia/Shanghai",
"dynamic_partition.start" = "-190",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p_",
"dynamic_partition.replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"dynamic_partition.buckets" = "32",
"dynamic_partition.create_history_partition" = "true",
"dynamic_partition.history_partition_num" = "-1",
"dynamic_partition.hot_partition_num" = "0",
"dynamic_partition.reserved_history_periods" = "NULL",
"dynamic_partition.storage_policy" = "",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_track_log4dur;
CREATE TABLE `ods_track_log4dur` (
`gmid` bigint NOT NULL,
`appid` bigint NOT NULL,
`app_id` varchar(64) NOT NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NOT NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_name` varchar(64) NOT NULL,
`event_type` varchar(64) NULL,
`event_time` bigint NOT NULL,
`net_type` varchar(64) NULL,
`user_id` varchar(64) NULL,
`order_id` varchar(64) NULL,
`amount` bigint NULL,
`platform` varchar(64) NULL,
`status` int NULL,
`servid` varchar(64) NULL,
`server_name` varchar(64) NULL,
`role_id` varchar(64) NULL,
`role_name` varchar(64) NULL,
`role_level` varchar(64) NULL,
`job_id` varchar(64) NULL,
`job_name` varchar(64) NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`var16` varchar(64) NULL,
`var17` varchar(64) NULL,
`var18` varchar(64) NULL,
`var19` varchar(64) NULL,
`var20` varchar(64) NULL,
`var21` varchar(64) NULL,
`var22` varchar(64) NULL,
`var23` varchar(64) NULL,
`var24` varchar(64) NULL,
`var25` varchar(64) NULL,
`var26` varchar(64) NULL,
`var27` varchar(64) NULL,
`var28` varchar(64) NULL,
`var29` varchar(64) NULL,
`var30` varchar(64) NULL,
`ds` date NOT NULL,
`prodid` varchar(64) NULL,
`prod_name` varchar(64) NULL,
`sub_servid` varchar(64) NULL,
`sub_server_name` varchar(64) NULL
) ENGINE=OLAP
DUPLICATE KEY(`gmid`, `appid`, `app_id`)
PARTITION BY RANGE(`ds`)
(PARTITION p_20250715 VALUES [('2025-07-15'), ('2025-07-16')),
PARTITION p_20250716 VALUES [('2025-07-16'), ('2025-07-17')),
PARTITION p_20250717 VALUES [('2025-07-17'), ('2025-07-18')),
PARTITION p_20250718 VALUES [('2025-07-18'), ('2025-07-19')),
PARTITION p_20250719 VALUES [('2025-07-19'), ('2025-07-20')),
PARTITION p_20250720 VALUES [('2025-07-20'), ('2025-07-21')),
PARTITION p_20250721 VALUES [('2025-07-21'), ('2025-07-22')),
PARTITION p_20250722 VALUES [('2025-07-22'), ('2025-07-23')),
PARTITION p_20250723 VALUES [('2025-07-23'), ('2025-07-24')),
PARTITION p_20250724 VALUES [('2025-07-24'), ('2025-07-25')),
PARTITION p_20250725 VALUES [('2025-07-25'), ('2025-07-26')),
PARTITION p_20250726 VALUES [('2025-07-26'), ('2025-07-27')))
DISTRIBUTED BY HASH(`ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "DAY",
"dynamic_partition.time_zone" = "Asia/Shanghai",
"dynamic_partition.start" = "-8",
"dynamic_partition.end" = "3",
"dynamic_partition.prefix" = "p_",
"dynamic_partition.replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"dynamic_partition.buckets" = "32",
"dynamic_partition.create_history_partition" = "true",
"dynamic_partition.history_partition_num" = "-1",
"dynamic_partition.hot_partition_num" = "0",
"dynamic_partition.reserved_history_periods" = "NULL",
"dynamic_partition.storage_policy" = "",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_track_log_for_gmweb;
CREATE TABLE `ods_track_log_for_gmweb` (
`appid` bigint NOT NULL,
`ds` date NOT NULL,
`app_id` varchar(64) NULL,
`app_ver` varchar(64) NULL,
`sdk_ver` varchar(64) NULL,
`channel` varchar(64) NULL,
`country` varchar(64) NULL,
`province` varchar(64) NULL,
`city` varchar(64) NULL,
`isp` varchar(64) NULL,
`ip` varchar(64) NULL,
`net_type` varchar(64) NULL,
`device_width` int NULL,
`device_height` int NULL,
`device_id` varchar(64) NOT NULL,
`device_lang` varchar(64) NULL,
`device_model` varchar(64) NULL,
`device_brand` varchar(64) NULL,
`device_os` varchar(64) NULL,
`device_type` varchar(64) NULL,
`event_name` varchar(64) NOT NULL,
`event_type` varchar(64) NULL,
`event_time` datetime NOT NULL,
`user_id` varchar(64) NULL,
`var1` varchar(64) NULL,
`var2` varchar(64) NULL,
`var3` varchar(64) NULL,
`var4` varchar(64) NULL,
`var5` varchar(64) NULL,
`var6` varchar(64) NULL,
`var7` varchar(64) NULL,
`var8` varchar(64) NULL,
`var9` varchar(64) NULL,
`var10` varchar(64) NULL,
`var11` varchar(64) NULL,
`var12` varchar(64) NULL,
`var13` varchar(64) NULL,
`var14` varchar(64) NULL,
`var15` varchar(64) NULL,
`var16` varchar(64) NULL,
`var17` varchar(64) NULL,
`var18` varchar(64) NULL,
`var19` varchar(64) NULL,
`var20` varchar(64) NULL,
`var21` varchar(64) NULL,
`var22` varchar(64) NULL,
`var23` varchar(64) NULL,
`var24` varchar(64) NULL,
`var25` varchar(64) NULL,
`var26` varchar(64) NULL,
`var27` varchar(64) NULL,
`var28` varchar(64) NULL,
`var29` varchar(64) NULL,
`var30` varchar(64) NULL
) ENGINE=OLAP
DUPLICATE KEY(`appid`, `ds`, `app_id`)
DISTRIBUTED BY HASH(`appid`, `ds`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
drop TABLE ods_user;
CREATE TABLE `ods_user` (
`game_id` int NOT NULL,
`user_account` varchar(64) NOT NULL,
`role_id` varchar(64) NULL,
`role_name` varchar(64) NULL,
`server_id` int NULL,
`platform_id` varchar(64) NULL,
`create_time` datetime NULL,
`ds` varchar(64) NULL
) ENGINE=OLAP
UNIQUE KEY(`game_id`, `user_account`)
DISTRIBUTED BY HASH(`game_id`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_1st_payment;
CREATE TABLE `rpt_1st_payment` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`total_account` bigint NULL,
`total_amount` bigint NULL,
`newly_account` bigint NULL,
`newly_amount` bigint NULL,
`avg_paytime` bigint NULL,
`median_paytime` bigint NULL,
`mode_paytime` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_app_statis_ht;
CREATE TABLE `rpt_app_statis_ht` (
`appid` bigint NOT NULL,
`app_ver` varchar(64) NOT NULL,
`channel` varchar(64) NOT NULL,
`hh` varchar(64) NOT NULL,
`ds` date NOT NULL,
`active_device` bigint NULL,
`newly_device` bigint NULL,
`active_account` bigint NULL,
`newly_account` bigint NULL,
`order_created` bigint NULL,
`order_amount` bigint NULL,
`order_payment` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`payment_amount` bigint NULL,
`newly_payment_account` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `app_ver`, `channel`, `hh`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_app_statis_pd;
CREATE TABLE `rpt_app_statis_pd` (
`gmid` int NOT NULL,
`appid` int NOT NULL,
`app_ver` varchar(64) NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` varchar(64) NOT NULL,
`active_device` bigint NULL,
`newly_device` bigint NULL,
`start_device` bigint NULL,
`newly_account` bigint NULL,
`active_account` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`order_created` bigint NULL,
`order_amount` bigint NULL,
`order_payment` bigint NULL,
`total_device` bigint NULL,
`newly_distinct` bigint NULL,
`active_distinct` bigint NULL,
`new_role_users` bigint NULL,
`new_roles` bigint NULL,
`new_pay_account` bigint NULL,
`new_ac_amount` bigint NULL,
`new_ac_pay_num` bigint NULL,
`new_pay_user` bigint NULL,
`new_user_amount` bigint NULL,
`payment_order` bigint NULL,
`total_amount` bigint NULL,
`orig_active_device` bigint NULL,
`orig_payment_amount` bigint NULL,
`orig_total_amount` bigint NULL,
`orig_newly_payment_device` bigint NULL DEFAULT "0",
`total_payment_order` bigint NULL DEFAULT "0",
`total_payment_device` bigint NULL DEFAULT "0",
`dbl_newly_device` bigint NULL DEFAULT "0",
`dbl_newly_account` bigint NULL DEFAULT "0",
`nd_old_account` bigint NULL DEFAULT "0",
`login_account` bigint NULL DEFAULT "0",
`newly_account_role` bigint NULL,
`rollserv_account` bigint NULL,
`rollserv_u_role` bigint NULL,
`rollserv_u_payment_account` bigint NULL,
`rollserv_u_order_payment` bigint NULL,
`rollserv_u_order_amount` bigint NULL,
`role_newly_account` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`gmid`, `appid`, `app_ver`, `channel`, `ds`)
DISTRIBUTED BY HASH(`gmid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_app_statis_pm;
CREATE TABLE `rpt_app_statis_pm` (
`gmid` int NOT NULL,
`appid` int NOT NULL,
`app_ver` varchar(64) NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`active_device` bigint NULL,
`newly_device` bigint NULL,
`start_device` bigint NULL,
`newly_account` bigint NULL,
`active_account` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`order_created` bigint NULL,
`order_amount` bigint NULL,
`order_payment` bigint NULL,
`total_device` bigint NULL,
`newly_distinct` bigint NULL,
`active_distinct` bigint NULL,
`new_role_users` bigint NULL,
`new_roles` bigint NULL,
`new_pay_account` bigint NULL,
`new_ac_amount` bigint NULL,
`new_ac_pay_num` bigint NULL,
`new_pay_user` bigint NULL,
`new_user_amount` bigint NULL,
`payment_order` bigint NULL,
`total_amount` bigint NULL,
`orig_active_device` bigint NULL,
`orig_payment_amount` bigint NULL,
`orig_total_amount` bigint NULL,
`orig_newly_payment_device` bigint NULL DEFAULT "0",
`total_payment_order` bigint NULL DEFAULT "0",
`total_payment_device` bigint NULL DEFAULT "0",
`dbl_newly_device` bigint NULL DEFAULT "0",
`dbl_newly_account` bigint NULL DEFAULT "0",
`nd_old_account` bigint NULL DEFAULT "0",
`login_account` bigint NULL DEFAULT "0",
`newly_account_role` bigint NULL,
`rollserv_account` bigint NULL,
`rollserv_u_role` bigint NULL,
`rollserv_u_payment_account` bigint NULL,
`rollserv_u_order_payment` bigint NULL,
`rollserv_u_order_amount` bigint NULL,
`role_newly_account` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`gmid`, `appid`, `app_ver`, `channel`, `ds`)
DISTRIBUTED BY HASH(`gmid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_app_statis_pw;
CREATE TABLE `rpt_app_statis_pw` (
`gmid` int NOT NULL,
`appid` int NOT NULL,
`app_ver` varchar(64) NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`active_device` bigint NULL,
`newly_device` bigint NULL,
`start_device` bigint NULL,
`newly_account` bigint NULL,
`active_account` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`order_created` bigint NULL,
`order_amount` bigint NULL,
`order_payment` bigint NULL,
`total_device` bigint NULL,
`newly_distinct` bigint NULL,
`active_distinct` bigint NULL,
`new_role_users` bigint NULL,
`new_roles` bigint NULL,
`new_pay_account` bigint NULL,
`new_ac_amount` bigint NULL,
`new_ac_pay_num` bigint NULL,
`new_pay_user` bigint NULL,
`new_user_amount` bigint NULL,
`payment_order` bigint NULL,
`total_amount` bigint NULL,
`orig_active_device` bigint NULL,
`orig_payment_amount` bigint NULL,
`orig_total_amount` bigint NULL,
`orig_newly_payment_device` bigint NULL DEFAULT "0",
`total_payment_order` bigint NULL DEFAULT "0",
`total_payment_device` bigint NULL DEFAULT "0",
`dbl_newly_device` bigint NULL DEFAULT "0",
`dbl_newly_account` bigint NULL DEFAULT "0",
`nd_old_account` bigint NULL DEFAULT "0",
`login_account` bigint NULL DEFAULT "0",
`newly_account_role` bigint NULL,
`rollserv_account` bigint NULL,
`rollserv_u_role` bigint NULL,
`rollserv_u_payment_account` bigint NULL,
`rollserv_u_order_payment` bigint NULL,
`rollserv_u_order_amount` bigint NULL,
`role_newly_account` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`gmid`, `appid`, `app_ver`, `channel`, `ds`)
DISTRIBUTED BY HASH(`gmid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_app_statis_rt;
CREATE TABLE `rpt_app_statis_rt` (
`gmid` bigint NOT NULL,
`appid` bigint NOT NULL,
`app_ver` varchar(64) NOT NULL,
`channel` varchar(64) NOT NULL,
`hm` varchar(64) NOT NULL,
`ds` date NOT NULL,
`start_device` bigint NULL,
`rt_active_device` bigint NULL,
`active_device` bigint NULL,
`newly_device` bigint NULL,
`active_account` bigint NULL,
`newly_account` bigint NULL,
`order_created` bigint NULL,
`order_amount` bigint NULL,
`order_payment` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`payment_amount` bigint NULL,
`newly_role_account` bigint NULL,
`newly_role` bigint NULL,
`newly_payment_account` bigint NULL,
`newly_payment_amount` bigint NULL,
`newly_order_payment` bigint NULL,
`newly_payment_device` bigint NULL,
`newly_device_payment_amount` bigint NULL,
`orig_active_device` bigint NULL,
`orig_payment_amount` bigint NULL,
`orig_total_amount` bigint NULL,
`orig_newly_payment_device` bigint NULL,
`total_device` bigint NULL,
`total_amount` bigint NULL,
`total_payment_order` bigint NULL,
`total_payment_device` bigint NULL,
`dbl_newly_device` bigint NULL,
`dbl_newly_account` bigint NULL,
`nd_old_account` bigint NULL,
`login_account` bigint NULL,
`newly_account_role` bigint NULL,
`hh` varchar(64) NULL,
`role_newly_account` bigint NULL,
`rollserv_account` bigint NULL,
`rollserv_u_role` bigint NULL,
`rollserv_u_payment_account` bigint NULL,
`rollserv_u_order_payment` bigint NULL,
`rollserv_u_order_amount` bigint NULL,
`rt_active_account` bigint NULL,
`rt_payment_account` bigint NULL,
`rt_newly_payment_account` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`gmid`, `appid`, `app_ver`, `channel`, `hm`, `ds`)
DISTRIBUTED BY HASH(`gmid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_game_duration_d;
CREATE TABLE `rpt_game_duration_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`newly_duration` bigint NULL,
`newly_times` bigint NULL,
`real_newly` bigint NULL,
`range1` bigint NULL,
`range2` bigint NULL,
`range3` bigint NULL,
`range4` bigint NULL,
`range5` bigint NULL,
`range6` bigint NULL,
`range7` bigint NULL,
`range8` bigint NULL,
`range9` bigint NULL,
`range10` bigint NULL,
`range11` bigint NULL,
`range12` bigint NULL,
`range13` bigint NULL,
`range14` bigint NULL,
`range15` bigint NULL,
`range16` bigint NULL,
`range17` bigint NULL,
`range18` bigint NULL,
`range19` bigint NULL,
`range20` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_ltv_rollserv_account;
CREATE TABLE `rpt_ltv_rollserv_account` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` varchar(64) NOT NULL,
`num` bigint NULL,
`ltv1` bigint NULL,
`ltv2` bigint NULL,
`ltv3` bigint NULL,
`ltv4` bigint NULL,
`ltv5` bigint NULL,
`ltv6` bigint NULL,
`ltv7` bigint NULL,
`ltv8` bigint NULL,
`ltv9` bigint NULL,
`ltv10` bigint NULL,
`ltv11` bigint NULL,
`ltv12` bigint NULL,
`ltv13` bigint NULL,
`ltv14` bigint NULL,
`ltv15` bigint NULL,
`ltv16` bigint NULL,
`ltv17` bigint NULL,
`ltv18` bigint NULL,
`ltv19` bigint NULL,
`ltv20` bigint NULL,
`ltv21` bigint NULL,
`ltv22` bigint NULL,
`ltv23` bigint NULL,
`ltv24` bigint NULL,
`ltv25` bigint NULL,
`ltv26` bigint NULL,
`ltv27` bigint NULL,
`ltv28` bigint NULL,
`ltv29` bigint NULL,
`ltv30` bigint NULL,
`ltv31` bigint NULL,
`ltv45` bigint NULL,
`ltv60` bigint NULL,
`ltv90` bigint NULL,
`ltv120` bigint NULL,
`ltv150` bigint NULL,
`ltv180` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_origchan_statis_d;
CREATE TABLE `rpt_origchan_statis_d` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`active_device` bigint NULL,
`active_account` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`order_payment` bigint NULL,
`order_amount` bigint NULL,
`total_account` bigint NULL,
`total_amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_origchan_statis_r;
CREATE TABLE `rpt_origchan_statis_r` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`hm` varchar(64) NOT NULL,
`active_device` bigint NULL,
`active_account` bigint NULL,
`payment_device` bigint NULL,
`payment_account` bigint NULL,
`order_payment` bigint NULL,
`order_amount` bigint NULL,
`total_account` bigint NULL,
`total_amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`, `hm`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_payment_distribution;
CREATE TABLE `rpt_payment_distribution` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`is_orig` int NOT NULL,
`ds` date NOT NULL,
`dt` int NOT NULL,
`payment_account` bigint NULL,
`range1` bigint NULL,
`range2` bigint NULL,
`range3` bigint NULL,
`range4` bigint NULL,
`range5` bigint NULL,
`range6` bigint NULL,
`range7` bigint NULL,
`range8` bigint NULL,
`range9` bigint NULL,
`range10` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `is_orig`, `ds`, `dt`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_active_account_d;
CREATE TABLE `rpt_retention_active_account_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_active_account_m;
CREATE TABLE `rpt_retention_active_account_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_active_account_w;
CREATE TABLE `rpt_retention_active_account_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_active_device_d;
CREATE TABLE `rpt_retention_active_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_active_device_m;
CREATE TABLE `rpt_retention_active_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_active_device_w;
CREATE TABLE `rpt_retention_active_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_account_d;
CREATE TABLE `rpt_retention_newly_account_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_account_m;
CREATE TABLE `rpt_retention_newly_account_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_account_w;
CREATE TABLE `rpt_retention_newly_account_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_device_d;
CREATE TABLE `rpt_retention_newly_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_device_m;
CREATE TABLE `rpt_retention_newly_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_device_w;
CREATE TABLE `rpt_retention_newly_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_role_d;
CREATE TABLE `rpt_retention_newly_role_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_role_m;
CREATE TABLE `rpt_retention_newly_role_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_newly_role_w;
CREATE TABLE `rpt_retention_newly_role_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npa_repay;
CREATE TABLE `rpt_retention_npa_repay` (
`game_id` int NOT NULL,
`channel` int NOT NULL,
`ds` date NOT NULL,
`dt` int NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`game_id`, `channel`, `ds`, `dt`)
DISTRIBUTED BY HASH(`game_id`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_account_d;
CREATE TABLE `rpt_retention_npayment_account_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_account_m;
CREATE TABLE `rpt_retention_npayment_account_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_account_w;
CREATE TABLE `rpt_retention_npayment_account_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_device_d;
CREATE TABLE `rpt_retention_npayment_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_device_m;
CREATE TABLE `rpt_retention_npayment_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_device_w;
CREATE TABLE `rpt_retention_npayment_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_role_d;
CREATE TABLE `rpt_retention_npayment_role_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_role_m;
CREATE TABLE `rpt_retention_npayment_role_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_npayment_role_w;
CREATE TABLE `rpt_retention_npayment_role_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_account_d;
CREATE TABLE `rpt_retention_payment_account_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_account_m;
CREATE TABLE `rpt_retention_payment_account_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_account_w;
CREATE TABLE `rpt_retention_payment_account_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_device_d;
CREATE TABLE `rpt_retention_payment_device_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_device_m;
CREATE TABLE `rpt_retention_payment_device_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_device_w;
CREATE TABLE `rpt_retention_payment_device_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_role_d;
CREATE TABLE `rpt_retention_payment_role_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_role_m;
CREATE TABLE `rpt_retention_payment_role_m` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_payment_role_w;
CREATE TABLE `rpt_retention_payment_role_w` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_repay_d;
CREATE TABLE `rpt_retention_repay_d` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_retention_rollserv_act_d;
CREATE TABLE `rpt_retention_rollserv_act_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`ds` date NOT NULL,
`num` bigint NULL,
`rd1` bigint NULL,
`rd2` bigint NULL,
`rd3` bigint NULL,
`rd4` bigint NULL,
`rd5` bigint NULL,
`rd6` bigint NULL,
`rd7` bigint NULL,
`rd8` bigint NULL,
`rd9` bigint NULL,
`rd10` bigint NULL,
`rd11` bigint NULL,
`rd12` bigint NULL,
`rd13` bigint NULL,
`rd14` bigint NULL,
`rd15` bigint NULL,
`rd16` bigint NULL,
`rd17` bigint NULL,
`rd18` bigint NULL,
`rd19` bigint NULL,
`rd20` bigint NULL,
`rd21` bigint NULL,
`rd22` bigint NULL,
`rd23` bigint NULL,
`rd24` bigint NULL,
`rd25` bigint NULL,
`rd26` bigint NULL,
`rd27` bigint NULL,
`rd28` bigint NULL,
`rd29` bigint NULL,
`rd30` bigint NULL,
`rd45` bigint NULL,
`rd60` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_rolejob_statis_d;
CREATE TABLE `rpt_rolejob_statis_d` (
`appid` int NOT NULL,
`channel` varchar(64) NOT NULL,
`job_name` varchar(64) NOT NULL,
`ds` date NOT NULL,
`days` int NOT NULL,
`account` bigint NULL,
`role` bigint NULL,
`newly_account` bigint NULL,
`newly_role` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `job_name`, `ds`, `days`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_roletask_statis_d;
CREATE TABLE `rpt_roletask_statis_d` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`task_name` varchar(64) NOT NULL,
`ds` date NOT NULL,
`account` bigint NULL,
`role` bigint NULL,
`newly_account` bigint NULL,
`newly_account_role` bigint NULL,
`newly_role` bigint NULL,
`newly_role_acount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `task_name`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_serv_statis_d;
CREATE TABLE `rpt_serv_statis_d` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`servid` varchar(64) NOT NULL,
`ds` date NOT NULL,
`newly_role` bigint NULL,
`role_account` bigint NULL,
`role_newly_account` bigint NULL,
`newly_account_role` bigint NULL,
`role_newly_device` bigint NULL,
`newly_device_role` bigint NULL,
`active_account` bigint NULL,
`active_device` bigint NULL,
`payment_account` bigint NULL,
`payment_device` bigint NULL,
`payment_order` bigint NULL,
`payment_amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `servid`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_serv_statis_m;
CREATE TABLE `rpt_serv_statis_m` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`servid` varchar(64) NOT NULL,
`ds` date NOT NULL,
`newly_role` bigint NULL,
`role_account` bigint NULL,
`role_newly_account` bigint NULL,
`newly_account_role` bigint NULL,
`role_newly_device` bigint NULL,
`newly_device_role` bigint NULL,
`active_account` bigint NULL,
`active_device` bigint NULL,
`payment_account` bigint NULL,
`payment_device` bigint NULL,
`payment_order` bigint NULL,
`payment_amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `servid`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);
drop TABLE rpt_serv_statis_w;
CREATE TABLE `rpt_serv_statis_w` (
`appid` bigint NOT NULL,
`channel` varchar(64) NOT NULL,
`servid` varchar(64) NOT NULL,
`ds` date NOT NULL,
`newly_role` bigint NULL,
`role_account` bigint NULL,
`role_newly_account` bigint NULL,
`newly_account_role` bigint NULL,
`role_newly_device` bigint NULL,
`newly_device_role` bigint NULL,
`active_account` bigint NULL,
`active_device` bigint NULL,
`payment_account` bigint NULL,
`payment_device` bigint NULL,
`payment_order` bigint NULL,
`payment_amount` bigint NULL
) ENGINE=OLAP
UNIQUE KEY(`appid`, `channel`, `servid`, `ds`)
DISTRIBUTED BY HASH(`appid`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.ap_shanghai_8: 1, tag.location.ap_shanghai_5: 1, tag.location.ap_shanghai_4: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728",
"enable_mow_light_delete" = "false"
);