From 01f0003792d08cb2d38324f1c87dd9acf5551eda Mon Sep 17 00:00:00 2001 From: starocean999 Date: Fri, 6 Dec 2024 14:49:51 +0800 Subject: [PATCH] [fix](test)set replication_allocation = 1 (#45078) pick from master https://github.com/apache/doris/pull/44199 --- .../tablet_prune/test_tablet_prune.groovy | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/regression-test/suites/nereids_rules_p0/tablet_prune/test_tablet_prune.groovy b/regression-test/suites/nereids_rules_p0/tablet_prune/test_tablet_prune.groovy index 98daa649dfb711..36636b1f535c1e 100644 --- a/regression-test/suites/nereids_rules_p0/tablet_prune/test_tablet_prune.groovy +++ b/regression-test/suites/nereids_rules_p0/tablet_prune/test_tablet_prune.groovy @@ -21,7 +21,14 @@ suite("test_tablet_prune") { sql "drop table if exists t_customers_wide_index" sql """ - CREATE TABLE `t_customers_wide_index` ( `CUSTOMER_ID` int NULL, `ADDRESS` varchar(1500) NULL) ENGINE=OLAP UNIQUE KEY(`CUSTOMER_ID`) DISTRIBUTED BY HASH(`CUSTOMER_ID`) BUCKETS 32 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "file_cache_ttl_seconds" = "0", "is_being_synced" = "false", "storage_medium" = "hdd", "storage_format" = "V2", "inverted_index_storage_format" = "V2", "enable_unique_key_merge_on_write" = "true", "light_schema_change" = "true", "store_row_column" = "true", "row_store_page_size" = "16384", "disable_auto_compaction" = "false", "enable_single_replica_compaction" = "false", "group_commit_interval_ms" = "10000", "group_commit_data_bytes" = "134217728", "enable_mow_light_delete" = "false" ); """ + CREATE TABLE `t_customers_wide_index` + (`CUSTOMER_ID` int NULL,`ADDRESS` varchar(1500) NULL) + ENGINE=OLAP + UNIQUE KEY(`CUSTOMER_ID`) + DISTRIBUTED BY HASH(`CUSTOMER_ID`) + BUCKETS 32 + PROPERTIES ( "replication_allocation" = "tag.location.default: 1");""" + sql """ insert into t_customers_wide_index values (1, "111"); """