diff --git a/regression-test/suites/cloud_p0/balance/test_balance_warm_up_with_compaction_use_peer_cache.groovy b/regression-test/suites/cloud_p0/balance/test_balance_warm_up_with_compaction_use_peer_cache.groovy index 3730a8f603a66f..a72ccb937be34b 100644 --- a/regression-test/suites/cloud_p0/balance/test_balance_warm_up_with_compaction_use_peer_cache.groovy +++ b/regression-test/suites/cloud_p0/balance/test_balance_warm_up_with_compaction_use_peer_cache.groovy @@ -98,7 +98,7 @@ suite('test_balance_warm_up_with_compaction_use_peer_cache', 'docker') { ) DUPLICATE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 2 - PROPERTIES ("replication_num" = "1"); + PROPERTIES ("replication_num" = "1", "disable_auto_compaction" = "true"); """ sql """ insert into $table values (344083, 1, 'comment', 'spez', '2008-10-26 13:49:29', 'Stay tuned...', 0, 343906, 0, [31, 454446], '', 0, '', [], 0), (33, 0, 'comment', 'spez', '2006-10-10 23:50:40', 'winnar winnar chicken dinnar!', 0, 31, 0, [34, 454450], '', 0, '', [], 0); diff --git a/regression-test/suites/cloud_p0/cache/ddl/nation.sql b/regression-test/suites/cloud_p0/cache/ddl/nation.sql index d6b36e58ec5a35..45209901c18c0c 100644 --- a/regression-test/suites/cloud_p0/cache/ddl/nation.sql +++ b/regression-test/suites/cloud_p0/cache/ddl/nation.sql @@ -23,3 +23,6 @@ CREATE TABLE IF NOT EXISTS nation ( ) DUPLICATE KEY(N_NATIONKEY, N_NAME) DISTRIBUTED BY HASH(N_NATIONKEY) BUCKETS 1 +PROPERTIES ( + "disable_auto_compaction" = "true" +) diff --git a/regression-test/suites/cloud_p0/cache/multi_cluster/read_write/test_multi_stale_rowset.groovy b/regression-test/suites/cloud_p0/cache/multi_cluster/read_write/test_multi_stale_rowset.groovy index 890691ef0038a9..b2bc06ffd81c90 100644 --- a/regression-test/suites/cloud_p0/cache/multi_cluster/read_write/test_multi_stale_rowset.groovy +++ b/regression-test/suites/cloud_p0/cache/multi_cluster/read_write/test_multi_stale_rowset.groovy @@ -18,7 +18,7 @@ import org.codehaus.groovy.runtime.IOGroovyMethods suite("test_multi_stale_rowset") { - def ttlProperties = """ PROPERTIES("file_cache_ttl_seconds"="1200") """ + def ttlProperties = """ PROPERTIES("file_cache_ttl_seconds"="1200", "disable_auto_compaction"="true") """ List ipList = new ArrayList<>(); List hbPortList = new ArrayList<>() List httpPortList = new ArrayList<>() diff --git a/regression-test/suites/compaction/test_compacation_with_delete.groovy b/regression-test/suites/compaction/test_compacation_with_delete.groovy index 43aaaa5485af18..dd5466fe8e3632 100644 --- a/regression-test/suites/compaction/test_compacation_with_delete.groovy +++ b/regression-test/suites/compaction/test_compacation_with_delete.groovy @@ -61,7 +61,7 @@ suite("test_compaction_with_delete") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - BUCKETS 1 PROPERTIES ( "replication_num" = "1" ); + BUCKETS 1 PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_agg_keys.groovy b/regression-test/suites/compaction/test_compaction_agg_keys.groovy index 480f4696e5fe55..85e1fd18e15a72 100644 --- a/regression-test/suites/compaction/test_compaction_agg_keys.groovy +++ b/regression-test/suites/compaction/test_compaction_agg_keys.groovy @@ -64,7 +64,7 @@ suite("test_compaction_agg_keys") { `hll_col` HLL HLL_UNION NOT NULL COMMENT "HLL列", `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列" ) AGGREGATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_agg_keys_with_array_map.groovy b/regression-test/suites/compaction/test_compaction_agg_keys_with_array_map.groovy index bad84c832954b4..f0e40dac0cea0e 100644 --- a/regression-test/suites/compaction/test_compaction_agg_keys_with_array_map.groovy +++ b/regression-test/suites/compaction/test_compaction_agg_keys_with_array_map.groovy @@ -55,7 +55,7 @@ suite("test_compaction_agg_keys_with_array_map") { `array_col` ARRAY REPLACE NULL COMMENT "array column", `map_col` MAP REPLACE NULL COMMENT "map column") AGGREGATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES @@ -120,4 +120,3 @@ suite("test_compaction_agg_keys_with_array_map") { try_sql("DROP TABLE IF EXISTS ${tableName}") } } - diff --git a/regression-test/suites/compaction/test_compaction_agg_keys_with_delete.groovy b/regression-test/suites/compaction/test_compaction_agg_keys_with_delete.groovy index 99ea6077e46b17..0c6d2d5323338e 100644 --- a/regression-test/suites/compaction/test_compaction_agg_keys_with_delete.groovy +++ b/regression-test/suites/compaction/test_compaction_agg_keys_with_delete.groovy @@ -62,7 +62,7 @@ suite("test_compaction_agg_keys_with_delete") { `hll_col` HLL HLL_UNION NOT NULL COMMENT "HLL列", `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列" ) AGGREGATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_dup_keys.groovy b/regression-test/suites/compaction/test_compaction_dup_keys.groovy index bf435a734b51b8..1f1f796ade9bce 100644 --- a/regression-test/suites/compaction/test_compaction_dup_keys.groovy +++ b/regression-test/suites/compaction/test_compaction_dup_keys.groovy @@ -62,7 +62,7 @@ suite("test_compaction_dup_keys") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_dup_keys_with_delete.groovy b/regression-test/suites/compaction/test_compaction_dup_keys_with_delete.groovy index 02b5cfa95a61cb..eb8e440c91697a 100644 --- a/regression-test/suites/compaction/test_compaction_dup_keys_with_delete.groovy +++ b/regression-test/suites/compaction/test_compaction_dup_keys_with_delete.groovy @@ -62,7 +62,7 @@ suite("test_compaction_dup_keys_with_delete") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_uniq_keys.groovy b/regression-test/suites/compaction/test_compaction_uniq_keys.groovy index fac2cc4ac80e61..7c3fb55e0f0061 100644 --- a/regression-test/suites/compaction/test_compaction_uniq_keys.groovy +++ b/regression-test/suites/compaction/test_compaction_uniq_keys.groovy @@ -63,7 +63,7 @@ suite("test_compaction_uniq_keys") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_uniq_keys_ck.groovy b/regression-test/suites/compaction/test_compaction_uniq_keys_ck.groovy index 807da7d067ff1d..1b04bfe835a2f2 100644 --- a/regression-test/suites/compaction/test_compaction_uniq_keys_ck.groovy +++ b/regression-test/suites/compaction/test_compaction_uniq_keys_ck.groovy @@ -66,7 +66,8 @@ suite("test_compaction_uniq_keys_ck") { DISTRIBUTED BY HASH(`user_id`) PROPERTIES ( "replication_num" = "1", - "enable_unique_key_merge_on_write" = "true" + "enable_unique_key_merge_on_write" = "true", + "disable_auto_compaction" = "true" ); """ diff --git a/regression-test/suites/compaction/test_compaction_uniq_keys_row_store.groovy b/regression-test/suites/compaction/test_compaction_uniq_keys_row_store.groovy index eecd26506aade5..9189c30ef3f915 100644 --- a/regression-test/suites/compaction/test_compaction_uniq_keys_row_store.groovy +++ b/regression-test/suites/compaction/test_compaction_uniq_keys_row_store.groovy @@ -140,6 +140,7 @@ suite("test_compaction_uniq_keys_row_store", "p0") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) PROPERTIES ( "replication_num" = "1", + "disable_auto_compaction" = "true", "enable_unique_key_merge_on_write" = "true", "light_schema_change" = "true", "enable_unique_key_skip_bitmap_column" = "false", diff --git a/regression-test/suites/compaction/test_compaction_uniq_keys_row_store_ck.groovy b/regression-test/suites/compaction/test_compaction_uniq_keys_row_store_ck.groovy index ddf48cde253a93..2451c2cc765b4b 100644 --- a/regression-test/suites/compaction/test_compaction_uniq_keys_row_store_ck.groovy +++ b/regression-test/suites/compaction/test_compaction_uniq_keys_row_store_ck.groovy @@ -142,6 +142,7 @@ suite("test_compaction_uniq_keys_row_store_ck", "p0") { ORDER BY(`last_visit_date`, `last_update_date`, `city`, `cost`) DISTRIBUTED BY HASH(`user_id`) PROPERTIES ( "replication_num" = "1", + "disable_auto_compaction" = "true", "enable_unique_key_merge_on_write" = "true", "light_schema_change" = "true", "enable_unique_key_skip_bitmap_column" = "false", diff --git a/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete.groovy b/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete.groovy index 463597124c78c8..06f3a00088ec15 100644 --- a/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete.groovy +++ b/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete.groovy @@ -62,7 +62,7 @@ suite("test_compaction_uniq_keys_with_delete") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete_ck.groovy b/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete_ck.groovy index b2092542ce6529..d311402612a221 100644 --- a/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete_ck.groovy +++ b/regression-test/suites/compaction/test_compaction_uniq_keys_with_delete_ck.groovy @@ -67,7 +67,8 @@ suite("test_compaction_uniq_keys_with_delete_ck") { PROPERTIES ( "replication_num" = "1", "enable_unique_key_merge_on_write" = "true", - "enable_mow_light_delete" = "true" + "enable_mow_light_delete" = "true", + "disable_auto_compaction" = "true" ); """ diff --git a/regression-test/suites/compaction/test_compaction_with_empty_rowset.groovy b/regression-test/suites/compaction/test_compaction_with_empty_rowset.groovy index 6f6f869917d903..88507c6d8bd27f 100644 --- a/regression-test/suites/compaction/test_compaction_with_empty_rowset.groovy +++ b/regression-test/suites/compaction/test_compaction_with_empty_rowset.groovy @@ -43,7 +43,8 @@ suite("test_compaction_mow_with_empty_rowset", "p0") { DISTRIBUTED BY HASH(`k1`) BUCKETS 2 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", - "enable_unique_key_merge_on_write" = "true" + "enable_unique_key_merge_on_write" = "true", + "disable_auto_compaction" = "true" ); """ diff --git a/regression-test/suites/compaction/test_vertical_compaction_agg_keys.groovy b/regression-test/suites/compaction/test_vertical_compaction_agg_keys.groovy index 89493e153436fe..83adc0c77c89f2 100644 --- a/regression-test/suites/compaction/test_vertical_compaction_agg_keys.groovy +++ b/regression-test/suites/compaction/test_vertical_compaction_agg_keys.groovy @@ -63,7 +63,7 @@ suite("test_vertical_compaction_agg_keys") { `hll_col` HLL HLL_UNION NOT NULL COMMENT "HLL列", `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列" ) AGGREGATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 10 - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_vertical_compaction_agg_state.groovy b/regression-test/suites/compaction/test_vertical_compaction_agg_state.groovy index 22a8f653b74bc8..b9c56d2d5ddf21 100644 --- a/regression-test/suites/compaction/test_vertical_compaction_agg_state.groovy +++ b/regression-test/suites/compaction/test_vertical_compaction_agg_state.groovy @@ -51,7 +51,7 @@ suite("test_vertical_compaction_agg_state") { AGGREGATE KEY(`user_id`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`user_id`) BUCKETS 1 - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_vertical_compaction_dup_keys.groovy b/regression-test/suites/compaction/test_vertical_compaction_dup_keys.groovy index 7cdf6b67d406e3..f8557b3afa14dc 100644 --- a/regression-test/suites/compaction/test_vertical_compaction_dup_keys.groovy +++ b/regression-test/suites/compaction/test_vertical_compaction_dup_keys.groovy @@ -62,7 +62,7 @@ suite("test_vertical_compaction_dup_keys") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_vertical_compaction_uniq_keys.groovy b/regression-test/suites/compaction/test_vertical_compaction_uniq_keys.groovy index 6bff003a028be2..90dfed237d1c2f 100644 --- a/regression-test/suites/compaction/test_vertical_compaction_uniq_keys.groovy +++ b/regression-test/suites/compaction/test_vertical_compaction_uniq_keys.groovy @@ -61,7 +61,7 @@ suite("test_vertical_compaction_uniq_keys") { `max_dwell_time` INT DEFAULT "0" COMMENT "用户最大停留时间", `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1", "enable_unique_key_merge_on_write"="true" ); + PROPERTIES ( "replication_num" = "1", "enable_unique_key_merge_on_write"="true", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/compaction/test_vertical_compaction_uniq_keys_ck.groovy b/regression-test/suites/compaction/test_vertical_compaction_uniq_keys_ck.groovy index 665cc9d47d87d3..aaaea4e8f1efcc 100644 --- a/regression-test/suites/compaction/test_vertical_compaction_uniq_keys_ck.groovy +++ b/regression-test/suites/compaction/test_vertical_compaction_uniq_keys_ck.groovy @@ -63,7 +63,7 @@ suite("test_vertical_compaction_uniq_keys_ck") { UNIQUE KEY(`user_id`, `date`, `datev2`, `datetimev2_1`, `datetimev2_2`, `city`, `age`, `sex`) ORDER BY(`age`, `sex`, `user_id`) DISTRIBUTED BY HASH(`user_id`) - PROPERTIES ( "replication_num" = "1", "enable_unique_key_merge_on_write"="true" ); + PROPERTIES ( "replication_num" = "1", "enable_unique_key_merge_on_write"="true", "disable_auto_compaction" = "true" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/point_query_p0/test_point_query.groovy b/regression-test/suites/point_query_p0/test_point_query.groovy index 6bb17da5a0965b..aaa975a4e4fa04 100644 --- a/regression-test/suites/point_query_p0/test_point_query.groovy +++ b/regression-test/suites/point_query_p0/test_point_query.groovy @@ -352,7 +352,7 @@ suite("test_point_query") { INDEX col2 (`col2`) USING INVERTED ) ENGINE=OLAP UNIQUE KEY(`col1`, `col2`, `loc3`) DISTRIBUTED BY HASH(`col1`, `col2`, `loc3`) BUCKETS 1 - PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "bloom_filter_columns" = "col1", "store_row_column" = "true", "enable_mow_light_delete" = "false" ); + PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "disable_auto_compaction" = "true", "bloom_filter_columns" = "col1", "store_row_column" = "true", "enable_mow_light_delete" = "false" ); """ explain { sql("select * from table_3821461 where col1 = -10 and col2 = 20 and loc3 = 'aabc'") diff --git a/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy b/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy index 14a5f046831203..f05f26f910fca3 100644 --- a/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy +++ b/regression-test/suites/schema_change_p0/datev2/test_agg_keys_schema_change_datev2.groovy @@ -51,7 +51,7 @@ suite("test_agg_keys_schema_change_datev2") { ) AGGREGATE KEY(`datek1`,`datek2`) DISTRIBUTED BY HASH(`datek1`) BUCKETS 1 - PROPERTIES("replication_num" = "1", "light_schema_change" = "false"); + PROPERTIES("replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false"); """ // datev2 sql """ insert into ${tbName} values('2022-01-02', '2022-01-02 11:11:11', '2022-01-02', '2022-01-02 11:11:11');""" diff --git a/regression-test/suites/schema_change_p0/datev2/test_schema_change_varchar_to_datev2.groovy b/regression-test/suites/schema_change_p0/datev2/test_schema_change_varchar_to_datev2.groovy index 56f8d288b4c512..066ac1149f9d3c 100644 --- a/regression-test/suites/schema_change_p0/datev2/test_schema_change_varchar_to_datev2.groovy +++ b/regression-test/suites/schema_change_p0/datev2/test_schema_change_varchar_to_datev2.groovy @@ -51,7 +51,7 @@ suite("test_schema_change_varchar_to_datev2") { ) AGGREGATE KEY(`k1`,`k2`,`k3`) DISTRIBUTED BY HASH(`k1`,`k2`) BUCKETS 1 - PROPERTIES("replication_num" = "1", "light_schema_change" = "false"); + PROPERTIES("replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false"); """ // insert sql """ insert into ${tbName} values(1,"1","20200101",1,1), (2,"2","2020/01/02",2,2), (3,"3","2020-01-03",3,3), (4,"4","200104",4,4), (5,"5","20/01/05",5,5), (6,"6","20-01-06",6,6)""" diff --git a/regression-test/suites/schema_change_p0/decimalv2/test_agg_keys_schema_change_decimalv2.groovy b/regression-test/suites/schema_change_p0/decimalv2/test_agg_keys_schema_change_decimalv2.groovy index c455454db544ec..2dc68f815ae61e 100644 --- a/regression-test/suites/schema_change_p0/decimalv2/test_agg_keys_schema_change_decimalv2.groovy +++ b/regression-test/suites/schema_change_p0/decimalv2/test_agg_keys_schema_change_decimalv2.groovy @@ -65,7 +65,7 @@ suite("test_agg_keys_schema_change_decimalv2", "nonConcurrent") { ) AGGREGATE KEY(`decimalv2k1`,`decimalv2k2`, decimalv2k3) DISTRIBUTED BY HASH(`decimalv2k1`) BUCKETS 1 - PROPERTIES("replication_num" = "1", "light_schema_change" = "false"); + PROPERTIES("replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false"); """ sql """ insert into ${tbName} values (111111111111111111.111111111,999999999999999999.994,999999999999999999.999,999999999999999999.999999994,999999999999999999.995); diff --git a/regression-test/suites/schema_change_p0/decimalv3/test_agg_keys_schema_change_decimalv3.groovy b/regression-test/suites/schema_change_p0/decimalv3/test_agg_keys_schema_change_decimalv3.groovy index 0cbd8ec0823644..475a8a1ce38ff6 100644 --- a/regression-test/suites/schema_change_p0/decimalv3/test_agg_keys_schema_change_decimalv3.groovy +++ b/regression-test/suites/schema_change_p0/decimalv3/test_agg_keys_schema_change_decimalv3.groovy @@ -51,7 +51,7 @@ suite("test_agg_keys_schema_change_decimalv3") { ) AGGREGATE KEY(`decimalv3k1`,`decimalv3k2`) DISTRIBUTED BY HASH(`decimalv3k1`) BUCKETS 1 - PROPERTIES("replication_num" = "1", "light_schema_change" = "false"); + PROPERTIES("replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false"); """ sql """ insert into ${tbName} values(0.111111111111111111111111111111111,11111111111111111111111111111.11,0.111111111111111111111111111111111,11111111111111111111111111111.11);""" qt_sql """select * from ${tbName} ORDER BY `decimalv3k1`;""" diff --git a/regression-test/suites/schema_change_p0/test_agg_keys_schema_change.groovy b/regression-test/suites/schema_change_p0/test_agg_keys_schema_change.groovy index a23ee27801dee1..0c15f1357335fa 100644 --- a/regression-test/suites/schema_change_p0/test_agg_keys_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_agg_keys_schema_change.groovy @@ -47,7 +47,7 @@ suite ("test_agg_keys_schema_change") { `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列") AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ sql """ INSERT INTO schema_change_agg_keys_regression_test VALUES diff --git a/regression-test/suites/schema_change_p0/test_agg_mv_schema_change.groovy b/regression-test/suites/schema_change_p0/test_agg_mv_schema_change.groovy index bccb30069dd205..c36bd4567f953c 100644 --- a/regression-test/suites/schema_change_p0/test_agg_mv_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_agg_mv_schema_change.groovy @@ -64,7 +64,7 @@ suite ("test_agg_mv_schema_change") { `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列") AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ sql """ INSERT INTO ${tableName} VALUES @@ -160,4 +160,3 @@ suite ("test_agg_mv_schema_change") { } - diff --git a/regression-test/suites/schema_change_p0/test_agg_rollup_schema_change.groovy b/regression-test/suites/schema_change_p0/test_agg_rollup_schema_change.groovy index 73d9e9ad810601..557d779607b3cd 100644 --- a/regression-test/suites/schema_change_p0/test_agg_rollup_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_agg_rollup_schema_change.groovy @@ -64,7 +64,7 @@ suite ("test_agg_rollup_schema_change") { `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列") AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ //add rollup diff --git a/regression-test/suites/schema_change_p0/test_agg_vals_schema_change.groovy b/regression-test/suites/schema_change_p0/test_agg_vals_schema_change.groovy index 9983142986067a..7744d9561822a7 100644 --- a/regression-test/suites/schema_change_p0/test_agg_vals_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_agg_vals_schema_change.groovy @@ -45,7 +45,7 @@ suite ("test_agg_vals_schema_change") { `bitmap_col` Bitmap BITMAP_UNION NOT NULL COMMENT "bitmap列") AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy b/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy index dcf0a65cfecf31..4373257fb6093a 100644 --- a/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_mv_schema_change.groovy @@ -59,7 +59,7 @@ suite ("test_dup_mv_schema_change") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/schema_change_p0/test_dup_rollup_schema_change.groovy b/regression-test/suites/schema_change_p0/test_dup_rollup_schema_change.groovy index c25ffe1039a8df..df36f0faba8a20 100644 --- a/regression-test/suites/schema_change_p0/test_dup_rollup_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_rollup_schema_change.groovy @@ -64,7 +64,7 @@ suite ("test_dup_rollup_schema_change") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ //add rollup diff --git a/regression-test/suites/schema_change_p0/test_dup_vals_schema_change.groovy b/regression-test/suites/schema_change_p0/test_dup_vals_schema_change.groovy index 2348daad9fafb2..6f53764d881f57 100644 --- a/regression-test/suites/schema_change_p0/test_dup_vals_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_vals_schema_change.groovy @@ -45,7 +45,7 @@ suite ("test_dup_vals_schema_change") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") DUPLICATE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/schema_change_p0/test_schema_change_with_empty_rowset.groovy b/regression-test/suites/schema_change_p0/test_schema_change_with_empty_rowset.groovy index 4f1eaebde6cc2b..008b1033e9ef25 100644 --- a/regression-test/suites/schema_change_p0/test_schema_change_with_empty_rowset.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_change_with_empty_rowset.groovy @@ -53,7 +53,8 @@ suite("test_schema_change_with_empty_rowset", "p0,nonConcurrent") { DISTRIBUTED BY HASH(`k1`) BUCKETS 2 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", - "enable_unique_key_merge_on_write" = "true" + "enable_unique_key_merge_on_write" = "true", + "disable_auto_compaction" = "true" ); """ @@ -88,4 +89,3 @@ suite("test_schema_change_with_empty_rowset", "p0,nonConcurrent") { qt_sql """ select sum(k1), sum(k2) from ${tableName} """ } } - diff --git a/regression-test/suites/schema_change_p0/test_uniq_mv_schema_change.groovy b/regression-test/suites/schema_change_p0/test_uniq_mv_schema_change.groovy index 8535c00ac8255a..d34ed7e993c8a8 100644 --- a/regression-test/suites/schema_change_p0/test_uniq_mv_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_uniq_mv_schema_change.groovy @@ -46,7 +46,7 @@ suite ("test_uniq_mv_schema_change") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false", 'enable_unique_key_merge_on_write' = 'false'); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false", 'enable_unique_key_merge_on_write' = 'false'); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/schema_change_p0/test_uniq_rollup_schema_change.groovy b/regression-test/suites/schema_change_p0/test_uniq_rollup_schema_change.groovy index 52372b3cc139e0..1118481c8b236e 100644 --- a/regression-test/suites/schema_change_p0/test_uniq_rollup_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_uniq_rollup_schema_change.groovy @@ -64,7 +64,7 @@ suite ("test_uniq_rollup_schema_change") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false", 'enable_unique_key_merge_on_write' = 'false'); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false", 'enable_unique_key_merge_on_write' = 'false'); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/schema_change_p0/test_uniq_vals_schema_change.groovy b/regression-test/suites/schema_change_p0/test_uniq_vals_schema_change.groovy index 72ff4fe564df08..f3440dbedec09b 100644 --- a/regression-test/suites/schema_change_p0/test_uniq_vals_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_uniq_vals_schema_change.groovy @@ -46,7 +46,7 @@ suite ("test_uniq_vals_schema_change") { `min_dwell_time` INT DEFAULT "99999" COMMENT "用户最小停留时间") UNIQUE KEY(`user_id`, `date`, `city`, `age`, `sex`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 8 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "false" ); + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "false" ); """ sql """ INSERT INTO ${tableName} VALUES diff --git a/regression-test/suites/schema_change_p0/test_varchar_schema_change.groovy b/regression-test/suites/schema_change_p0/test_varchar_schema_change.groovy index 9387cdaed067c8..330d62b014b9fd 100644 --- a/regression-test/suites/schema_change_p0/test_varchar_schema_change.groovy +++ b/regression-test/suites/schema_change_p0/test_varchar_schema_change.groovy @@ -42,7 +42,7 @@ suite ("test_varchar_schema_change") { `c2` VARCHAR(20), `c3` VARCHAR(5) DEFAULT '0' ) DISTRIBUTED BY HASH(c0) BUCKETS 1 - PROPERTIES ( "replication_num" = "1", "light_schema_change" = "true" ) + PROPERTIES ( "replication_num" = "1", "disable_auto_compaction" = "true", "light_schema_change" = "true" ) """ sql """ insert into ${tableName} values diff --git a/regression-test/suites/variant_p0/predefine/test_custom_analyzer.groovy b/regression-test/suites/variant_p0/predefine/test_custom_analyzer.groovy index 94987795c10af3..553ecb7f5d7d31 100644 --- a/regression-test/suites/variant_p0/predefine/test_custom_analyzer.groovy +++ b/regression-test/suites/variant_p0/predefine/test_custom_analyzer.groovy @@ -95,7 +95,8 @@ suite("test_variant_custom_analyzer", "p0") { DUPLICATE KEY(`a`) DISTRIBUTED BY RANDOM BUCKETS 1 PROPERTIES ( - "replication_allocation" = "tag.location.default: 1" + "replication_allocation" = "tag.location.default: 1", + "disable_auto_compaction" = "true" ); """ @@ -172,4 +173,4 @@ suite("test_variant_custom_analyzer", "p0") { logger.info("used by index") } } -} \ No newline at end of file +}