From 306067335883893ee155f358f31dd6928b7f83e1 Mon Sep 17 00:00:00 2001 From: abmdocrt Date: Fri, 13 Sep 2024 20:58:18 +0800 Subject: [PATCH] [Enhancement](delete) Modify some p2 delete cases' property (#37689) In #35917 and #37151, we changed MOW table default delete command from delete predicate to delete sign. It makes sure the correctness during partial update but leads to slowdowns. Actually, if there is no partial update, delete predicate will not lead to data fault. Delete data by delete predicate or delete sign can be controlled by a table property "enable_light_delete". If "enable_light_delete=true", we execute delete command by delete predicate. Otherwise, we execute delete command by delete sign. In p2 cases, there are lots of cases with large data need to delete and do not perform partial column update operations. Therefore, in order to make it faster, we change some cases default create table clause. --- .../suites/ssb_unique_load_zstd_p0/ddl/customer_create.sql | 1 + .../ssb_unique_load_zstd_p0/ddl/customer_sequence_create.sql | 1 + .../suites/ssb_unique_load_zstd_p0/ddl/date_create.sql | 1 + .../suites/ssb_unique_load_zstd_p0/ddl/date_sequence_create.sql | 1 + .../suites/ssb_unique_load_zstd_p0/ddl/lineorder_create.sql | 1 + .../ssb_unique_load_zstd_p0/ddl/lineorder_sequence_create.sql | 1 + .../suites/ssb_unique_load_zstd_p0/ddl/part_create.sql | 1 + .../suites/ssb_unique_load_zstd_p0/ddl/part_sequence_create.sql | 1 + .../suites/ssb_unique_load_zstd_p0/ddl/supplier_create.sql | 1 + .../ssb_unique_load_zstd_p0/ddl/supplier_sequence_create.sql | 1 + .../suites/ssb_unique_sql_zstd_p0/ddl/customer_create.sql | 1 + .../suites/ssb_unique_sql_zstd_p0/ddl/date_create.sql | 1 + .../suites/ssb_unique_sql_zstd_p0/ddl/lineorder_create.sql | 1 + .../suites/ssb_unique_sql_zstd_p0/ddl/part_create.sql | 1 + .../suites/ssb_unique_sql_zstd_p0/ddl/supplier_create.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/customer.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/lineitem.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/nation.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/orders.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/part.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/partsupp.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/region.sql | 1 + regression-test/suites/tpch_sf100_p2/ddl/supplier.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/customer.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/customer_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/lineitem_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/nation.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/nation_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/orders.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/orders_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/part.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/part_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/partsupp_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/region.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/region_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_p2/ddl/supplier.sql | 1 + .../suites/tpch_sf100_unique_p2/ddl/supplier_sequence.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/customer.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/lineitem.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/nation.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/orders.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/part.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/partsupp.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/region.sql | 1 + regression-test/suites/tpch_sf100_unique_sql_p2/ddl/supplier.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/customer.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/customer_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/lineitem_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/nation.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/nation_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/orders.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/orders_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/part.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/part_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/partsupp_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/region.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/region_sequence.sql | 1 + regression-test/suites/tpch_sf10_unique_p2/ddl/supplier.sql | 1 + .../suites/tpch_sf10_unique_p2/ddl/supplier_sequence.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/create_table.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/customer.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/lineitem.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/nation.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/orders.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/part.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/partsupp.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/region.sql | 1 + regression-test/suites/tpch_sf1_p2/ddl/supplier.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/customer.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/lineitem.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/nation.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/orders.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/part.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/partsupp.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/region.sql | 1 + regression-test/suites/tpch_sf1_unique_p2/ddl/supplier.sql | 1 + .../ssb_unique_load_zstd/ddl/customer_create.sql | 1 + .../ssb_unique_load_zstd/ddl/customer_sequence_create.sql | 1 + .../unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_create.sql | 1 + .../ssb_unique_load_zstd/ddl/date_sequence_create.sql | 1 + .../ssb_unique_load_zstd/ddl/lineorder_create.sql | 1 + .../ssb_unique_load_zstd/ddl/lineorder_sequence_create.sql | 1 + .../unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_create.sql | 1 + .../ssb_unique_load_zstd/ddl/part_sequence_create.sql | 1 + .../ssb_unique_load_zstd/ddl/supplier_create.sql | 1 + .../ssb_unique_load_zstd/ddl/supplier_sequence_create.sql | 1 + .../ssb_unique_sql_zstd/ddl/customer_create.sql | 1 + .../unique_with_mow_p2/ssb_unique_sql_zstd/ddl/date_create.sql | 1 + .../ssb_unique_sql_zstd/ddl/lineorder_create.sql | 1 + .../unique_with_mow_p2/ssb_unique_sql_zstd/ddl/part_create.sql | 1 + .../ssb_unique_sql_zstd/ddl/supplier_create.sql | 1 + 95 files changed, 95 insertions(+) diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_create.sql index d172400d82ec08..3950d5412f8452 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_create.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `customer` ( UNIQUE KEY (`c_custkey`) DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_sequence_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_sequence_create.sql index 282479442da0a3..378a8f4959fdea 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_sequence_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/customer_sequence_create.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `customer` ( UNIQUE KEY (`c_custkey`) DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "compression"="zstd", "replication_num" = "1" diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_create.sql index 830ce3ce599c84..9026e8179e0dd9 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_create.sql @@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `date` ( UNIQUE KEY (`d_datekey`) DISTRIBUTED BY HASH(`d_datekey`) BUCKETS 1 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_sequence_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_sequence_create.sql index 662ac4fbd2114e..0f5e975f13172a 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_sequence_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/date_sequence_create.sql @@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `date` ( UNIQUE KEY (`d_datekey`) DISTRIBUTED BY HASH(`d_datekey`) BUCKETS 1 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "compression"="zstd", "replication_num" = "1" diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_create.sql index d75a3f1ae39dc3..0dc6e4f67b9eac 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_create.sql @@ -28,6 +28,7 @@ PARTITION p1997 VALUES [("19970101"), ("19980101")), PARTITION p1998 VALUES [("19980101"), ("19990101"))) DISTRIBUTED BY HASH(`lo_orderkey`) BUCKETS 48 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_sequence_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_sequence_create.sql index 988cad5e2e2597..07e231e9461d56 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_sequence_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/lineorder_sequence_create.sql @@ -28,6 +28,7 @@ PARTITION p1997 VALUES [("19970101"), ("19980101")), PARTITION p1998 VALUES [("19980101"), ("19990101"))) DISTRIBUTED BY HASH(`lo_orderkey`) BUCKETS 48 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "compression"="zstd", "replication_num" = "1" diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_create.sql index becc59157c388b..111538092ad49e 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_create.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `part` ( UNIQUE KEY (`p_partkey`) DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_sequence_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_sequence_create.sql index 89cdb202274b3a..c41989bba2afb2 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_sequence_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/part_sequence_create.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `part` ( UNIQUE KEY (`p_partkey`) DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "compression"="zstd", "replication_num" = "1" diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_create.sql index 783946219627f0..0df74d82b2696b 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_create.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `supplier` ( UNIQUE KEY (`s_suppkey`) DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_sequence_create.sql b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_sequence_create.sql index e3dcbf33b7ffa0..2d378f72cefe64 100644 --- a/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_sequence_create.sql +++ b/regression-test/suites/ssb_unique_load_zstd_p0/ddl/supplier_sequence_create.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `supplier` ( UNIQUE KEY (`s_suppkey`) DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "compression"="zstd", "replication_num" = "1" diff --git a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/customer_create.sql b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/customer_create.sql index d172400d82ec08..3950d5412f8452 100644 --- a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/customer_create.sql +++ b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/customer_create.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `customer` ( UNIQUE KEY (`c_custkey`) DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/date_create.sql b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/date_create.sql index 830ce3ce599c84..9026e8179e0dd9 100644 --- a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/date_create.sql +++ b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/date_create.sql @@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `date` ( UNIQUE KEY (`d_datekey`) DISTRIBUTED BY HASH(`d_datekey`) BUCKETS 1 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/lineorder_create.sql b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/lineorder_create.sql index d75a3f1ae39dc3..0dc6e4f67b9eac 100644 --- a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/lineorder_create.sql +++ b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/lineorder_create.sql @@ -28,6 +28,7 @@ PARTITION p1997 VALUES [("19970101"), ("19980101")), PARTITION p1998 VALUES [("19980101"), ("19990101"))) DISTRIBUTED BY HASH(`lo_orderkey`) BUCKETS 48 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/part_create.sql b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/part_create.sql index becc59157c388b..111538092ad49e 100644 --- a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/part_create.sql +++ b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/part_create.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `part` ( UNIQUE KEY (`p_partkey`) DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/supplier_create.sql b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/supplier_create.sql index 783946219627f0..0df74d82b2696b 100644 --- a/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/supplier_create.sql +++ b/regression-test/suites/ssb_unique_sql_zstd_p0/ddl/supplier_create.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `supplier` ( UNIQUE KEY (`s_suppkey`) DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1" ); diff --git a/regression-test/suites/tpch_sf100_p2/ddl/customer.sql b/regression-test/suites/tpch_sf100_p2/ddl/customer.sql index 5f41d6dbb12496..32665f2ce6a190 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/customer.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/customer.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS customer ( DUPLICATE KEY(C_CUSTKEY, C_NAME) DISTRIBUTED BY HASH(C_CUSTKEY) BUCKETS 32 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/lineitem.sql b/regression-test/suites/tpch_sf100_p2/ddl/lineitem.sql index 34fce81b607e0f..eebd825dc8af7c 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/lineitem.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/lineitem.sql @@ -19,6 +19,7 @@ CREATE TABLE IF NOT EXISTS lineitem ( DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER) DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 32 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/nation.sql b/regression-test/suites/tpch_sf100_p2/ddl/nation.sql index 56c133ce1eaf46..1e11fa86ea96dd 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/nation.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/nation.sql @@ -7,6 +7,7 @@ CREATE TABLE IF NOT EXISTS nation ( DUPLICATE KEY(N_NATIONKEY, N_NAME) DISTRIBUTED BY HASH(N_NATIONKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/orders.sql b/regression-test/suites/tpch_sf100_p2/ddl/orders.sql index 1843ef0f2a5c95..a02695d51779e3 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/orders.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/orders.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS orders ( DUPLICATE KEY(O_ORDERKEY, O_CUSTKEY) DISTRIBUTED BY HASH(O_ORDERKEY) BUCKETS 32 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/part.sql b/regression-test/suites/tpch_sf100_p2/ddl/part.sql index f5e75cef3f03d3..91de8dfa43b4c8 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/part.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/part.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS part ( DUPLICATE KEY(P_PARTKEY, P_NAME) DISTRIBUTED BY HASH(P_PARTKEY) BUCKETS 32 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/partsupp.sql b/regression-test/suites/tpch_sf100_p2/ddl/partsupp.sql index 72263631c58c7b..ffb686f3716a18 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/partsupp.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/partsupp.sql @@ -8,6 +8,7 @@ CREATE TABLE IF NOT EXISTS partsupp ( DUPLICATE KEY(PS_PARTKEY, PS_SUPPKEY) DISTRIBUTED BY HASH(PS_PARTKEY) BUCKETS 32 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/region.sql b/regression-test/suites/tpch_sf100_p2/ddl/region.sql index fc94a17d46b890..d4170a03432594 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/region.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/region.sql @@ -6,6 +6,7 @@ CREATE TABLE IF NOT EXISTS region ( DUPLICATE KEY(R_REGIONKEY, R_NAME) DISTRIBUTED BY HASH(R_REGIONKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_p2/ddl/supplier.sql b/regression-test/suites/tpch_sf100_p2/ddl/supplier.sql index 156d5c9f3565a5..c09e59e72f24bd 100644 --- a/regression-test/suites/tpch_sf100_p2/ddl/supplier.sql +++ b/regression-test/suites/tpch_sf100_p2/ddl/supplier.sql @@ -10,5 +10,6 @@ CREATE TABLE IF NOT EXISTS supplier ( DUPLICATE KEY(S_SUPPKEY, S_NAME) DISTRIBUTED BY HASH(S_SUPPKEY) BUCKETS 32 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/customer.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/customer.sql index 49ea3f7a0f8527..5b63e71429d8fb 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/customer.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/customer.sql @@ -12,6 +12,7 @@ UNIQUE KEY(`c_custkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/customer_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/customer_sequence.sql index d916c1b2615522..0936506fd957ec 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/customer_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/customer_sequence.sql @@ -12,6 +12,7 @@ UNIQUE KEY(`c_custkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem.sql index ff4229548204d0..3d5fe214710f43 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem.sql @@ -20,6 +20,7 @@ UNIQUE KEY(`l_shipdate`, `l_orderkey`,`l_linenumber`,`l_partkey`,`l_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`l_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem_sequence.sql index 00d03fa2059f31..18a4882fc9d182 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/lineitem_sequence.sql @@ -20,6 +20,7 @@ UNIQUE KEY(`l_shipdate`, `l_orderkey`,`l_linenumber`,`l_partkey`,`l_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`l_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'DATE', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/nation.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/nation.sql index a6421ac9b17d24..3581a266099cf7 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/nation.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/nation.sql @@ -8,6 +8,7 @@ UNIQUE KEY(`N_NATIONKEY`) COMMENT "OLAP" DISTRIBUTED BY HASH(`N_NATIONKEY`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ); diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/nation_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/nation_sequence.sql index fab3660a2b5a3d..f1f67a8872a325 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/nation_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/nation_sequence.sql @@ -8,6 +8,7 @@ UNIQUE KEY(`N_NATIONKEY`) COMMENT "OLAP" DISTRIBUTED BY HASH(`N_NATIONKEY`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ); diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/orders.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/orders.sql index 2d2f1d8db7d5c6..57a54f2b329241 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/orders.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/orders.sql @@ -13,5 +13,6 @@ UNIQUE KEY(`o_orderkey`, `o_orderdate`) COMMENT "OLAP" DISTRIBUTED BY HASH(`o_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/orders_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/orders_sequence.sql index 4645ed0cc9414f..0c96bf845fdc28 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/orders_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/orders_sequence.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`o_orderkey`, `o_orderdate`) COMMENT "OLAP" DISTRIBUTED BY HASH(`o_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'bigint', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/part.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/part.sql index 190a0019609b24..c3e5014e709e60 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/part.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/part.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`p_partkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/part_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/part_sequence.sql index 4017225439033e..fe85dd84d30ee8 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/part_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/part_sequence.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`p_partkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp.sql index 00c15535e834dd..fd83aec75cf026 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp.sql @@ -9,6 +9,7 @@ UNIQUE KEY(`ps_partkey`,`ps_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`ps_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp_sequence.sql index 63f8c72268e8f1..37c3658112adff 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/partsupp_sequence.sql @@ -9,6 +9,7 @@ UNIQUE KEY(`ps_partkey`,`ps_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`ps_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/region.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/region.sql index 66eb7dd77e3ddf..dab7e8b7cd4139 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/region.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/region.sql @@ -7,6 +7,7 @@ UNIQUE KEY(`r_regionkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`r_regionkey`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/region_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/region_sequence.sql index c8f1e8812b829d..11ad6dc1853680 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/region_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/region_sequence.sql @@ -7,6 +7,7 @@ UNIQUE KEY(`r_regionkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`r_regionkey`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier.sql index e7c345d9346624..e31d9332de8df6 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier.sql @@ -11,5 +11,6 @@ UNIQUE KEY(`s_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 12 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier_sequence.sql b/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier_sequence.sql index f7c36adafb9976..50ee24a118a16b 100644 --- a/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier_sequence.sql +++ b/regression-test/suites/tpch_sf100_unique_p2/ddl/supplier_sequence.sql @@ -11,6 +11,7 @@ UNIQUE KEY(`s_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 12 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/customer.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/customer.sql index 49ea3f7a0f8527..5b63e71429d8fb 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/customer.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/customer.sql @@ -12,6 +12,7 @@ UNIQUE KEY(`c_custkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/lineitem.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/lineitem.sql index ff4229548204d0..3d5fe214710f43 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/lineitem.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/lineitem.sql @@ -20,6 +20,7 @@ UNIQUE KEY(`l_shipdate`, `l_orderkey`,`l_linenumber`,`l_partkey`,`l_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`l_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/nation.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/nation.sql index a6421ac9b17d24..3581a266099cf7 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/nation.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/nation.sql @@ -8,6 +8,7 @@ UNIQUE KEY(`N_NATIONKEY`) COMMENT "OLAP" DISTRIBUTED BY HASH(`N_NATIONKEY`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ); diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/orders.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/orders.sql index 2d2f1d8db7d5c6..57a54f2b329241 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/orders.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/orders.sql @@ -13,5 +13,6 @@ UNIQUE KEY(`o_orderkey`, `o_orderdate`) COMMENT "OLAP" DISTRIBUTED BY HASH(`o_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/part.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/part.sql index 190a0019609b24..c3e5014e709e60 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/part.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/part.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`p_partkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/partsupp.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/partsupp.sql index 00c15535e834dd..fd83aec75cf026 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/partsupp.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/partsupp.sql @@ -9,6 +9,7 @@ UNIQUE KEY(`ps_partkey`,`ps_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`ps_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/region.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/region.sql index 66eb7dd77e3ddf..dab7e8b7cd4139 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/region.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/region.sql @@ -7,6 +7,7 @@ UNIQUE KEY(`r_regionkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`r_regionkey`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/supplier.sql b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/supplier.sql index e7c345d9346624..e31d9332de8df6 100644 --- a/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/supplier.sql +++ b/regression-test/suites/tpch_sf100_unique_sql_p2/ddl/supplier.sql @@ -11,5 +11,6 @@ UNIQUE KEY(`s_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 12 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/customer.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/customer.sql index 49ea3f7a0f8527..5b63e71429d8fb 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/customer.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/customer.sql @@ -12,6 +12,7 @@ UNIQUE KEY(`c_custkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/customer_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/customer_sequence.sql index d916c1b2615522..0936506fd957ec 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/customer_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/customer_sequence.sql @@ -12,6 +12,7 @@ UNIQUE KEY(`c_custkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem.sql index ff4229548204d0..3d5fe214710f43 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem.sql @@ -20,6 +20,7 @@ UNIQUE KEY(`l_shipdate`, `l_orderkey`,`l_linenumber`,`l_partkey`,`l_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`l_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem_sequence.sql index 00d03fa2059f31..18a4882fc9d182 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/lineitem_sequence.sql @@ -20,6 +20,7 @@ UNIQUE KEY(`l_shipdate`, `l_orderkey`,`l_linenumber`,`l_partkey`,`l_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`l_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'DATE', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/nation.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/nation.sql index a6421ac9b17d24..3581a266099cf7 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/nation.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/nation.sql @@ -8,6 +8,7 @@ UNIQUE KEY(`N_NATIONKEY`) COMMENT "OLAP" DISTRIBUTED BY HASH(`N_NATIONKEY`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ); diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/nation_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/nation_sequence.sql index fab3660a2b5a3d..f1f67a8872a325 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/nation_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/nation_sequence.sql @@ -8,6 +8,7 @@ UNIQUE KEY(`N_NATIONKEY`) COMMENT "OLAP" DISTRIBUTED BY HASH(`N_NATIONKEY`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ); diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/orders.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/orders.sql index 2d2f1d8db7d5c6..57a54f2b329241 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/orders.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/orders.sql @@ -13,5 +13,6 @@ UNIQUE KEY(`o_orderkey`, `o_orderdate`) COMMENT "OLAP" DISTRIBUTED BY HASH(`o_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/orders_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/orders_sequence.sql index 4645ed0cc9414f..0c96bf845fdc28 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/orders_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/orders_sequence.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`o_orderkey`, `o_orderdate`) COMMENT "OLAP" DISTRIBUTED BY HASH(`o_orderkey`) BUCKETS 96 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'bigint', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/part.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/part.sql index 190a0019609b24..c3e5014e709e60 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/part.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/part.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`p_partkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/part_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/part_sequence.sql index 4017225439033e..fe85dd84d30ee8 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/part_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/part_sequence.sql @@ -13,6 +13,7 @@ UNIQUE KEY(`p_partkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp.sql index 00c15535e834dd..fd83aec75cf026 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp.sql @@ -9,6 +9,7 @@ UNIQUE KEY(`ps_partkey`,`ps_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`ps_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp_sequence.sql index 63f8c72268e8f1..37c3658112adff 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/partsupp_sequence.sql @@ -9,6 +9,7 @@ UNIQUE KEY(`ps_partkey`,`ps_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`ps_partkey`) BUCKETS 24 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/region.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/region.sql index 66eb7dd77e3ddf..dab7e8b7cd4139 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/region.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/region.sql @@ -7,6 +7,7 @@ UNIQUE KEY(`r_regionkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`r_regionkey`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/region_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/region_sequence.sql index c8f1e8812b829d..11ad6dc1853680 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/region_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/region_sequence.sql @@ -7,6 +7,7 @@ UNIQUE KEY(`r_regionkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`r_regionkey`) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier.sql index e7c345d9346624..e31d9332de8df6 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier.sql @@ -11,5 +11,6 @@ UNIQUE KEY(`s_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 12 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier_sequence.sql b/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier_sequence.sql index f7c36adafb9976..50ee24a118a16b 100644 --- a/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier_sequence.sql +++ b/regression-test/suites/tpch_sf10_unique_p2/ddl/supplier_sequence.sql @@ -11,6 +11,7 @@ UNIQUE KEY(`s_suppkey`) COMMENT "OLAP" DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 12 PROPERTIES ( + "enable_mow_light_delete" = "true", "function_column.sequence_type" = 'int', "replication_num" = "3" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/create_table.sql b/regression-test/suites/tpch_sf1_p2/ddl/create_table.sql index 324b167fc80e07..015058d6d89de7 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/create_table.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/create_table.sql @@ -6,5 +6,6 @@ CREATE TABLE IF NOT EXISTS gavin_test ( DUPLICATE KEY(id, name) DISTRIBUTED BY HASH(id) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/customer.sql b/regression-test/suites/tpch_sf1_p2/ddl/customer.sql index 00b1b98d48917d..0a98bb99ae2823 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/customer.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/customer.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS customer ( DUPLICATE KEY(C_CUSTKEY, C_NAME) DISTRIBUTED BY HASH(C_CUSTKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/lineitem.sql b/regression-test/suites/tpch_sf1_p2/ddl/lineitem.sql index 2b4cb77143886d..30b29ee39c64c3 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/lineitem.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/lineitem.sql @@ -19,6 +19,7 @@ CREATE TABLE IF NOT EXISTS lineitem ( DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER) DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/nation.sql b/regression-test/suites/tpch_sf1_p2/ddl/nation.sql index 3eccc0dc976e92..b88f8c7365e4e2 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/nation.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/nation.sql @@ -7,6 +7,7 @@ CREATE TABLE IF NOT EXISTS nation ( DUPLICATE KEY(N_NATIONKEY, N_NAME) DISTRIBUTED BY HASH(N_NATIONKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/orders.sql b/regression-test/suites/tpch_sf1_p2/ddl/orders.sql index caeaa3415082d7..2574b8294678b2 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/orders.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/orders.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS orders ( DUPLICATE KEY(O_ORDERKEY, O_CUSTKEY) DISTRIBUTED BY HASH(O_ORDERKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/part.sql b/regression-test/suites/tpch_sf1_p2/ddl/part.sql index 994b6e66d55c50..e33cb50538cf36 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/part.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/part.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS part ( DUPLICATE KEY(P_PARTKEY, P_NAME) DISTRIBUTED BY HASH(P_PARTKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/partsupp.sql b/regression-test/suites/tpch_sf1_p2/ddl/partsupp.sql index be186a29db9188..8ccc23a27946b1 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/partsupp.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/partsupp.sql @@ -8,6 +8,7 @@ CREATE TABLE IF NOT EXISTS partsupp ( DUPLICATE KEY(PS_PARTKEY, PS_SUPPKEY) DISTRIBUTED BY HASH(PS_PARTKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/region.sql b/regression-test/suites/tpch_sf1_p2/ddl/region.sql index fbe34c05c6f422..fde4c2add332cb 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/region.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/region.sql @@ -6,6 +6,7 @@ CREATE TABLE IF NOT EXISTS region ( DUPLICATE KEY(R_REGIONKEY, R_NAME) DISTRIBUTED BY HASH(R_REGIONKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_p2/ddl/supplier.sql b/regression-test/suites/tpch_sf1_p2/ddl/supplier.sql index 7214eaebd12f13..244db711c43f38 100644 --- a/regression-test/suites/tpch_sf1_p2/ddl/supplier.sql +++ b/regression-test/suites/tpch_sf1_p2/ddl/supplier.sql @@ -10,5 +10,6 @@ CREATE TABLE IF NOT EXISTS supplier ( DUPLICATE KEY(S_SUPPKEY, S_NAME) DISTRIBUTED BY HASH(S_SUPPKEY) BUCKETS 3 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/customer.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/customer.sql index f81902a585efc8..1502dfdffec85b 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/customer.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/customer.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS customer ( UNIQUE KEY(C_CUSTKEY) DISTRIBUTED BY HASH(C_CUSTKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/lineitem.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/lineitem.sql index ee2b84d2479b24..d1ef02f4626b03 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/lineitem.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/lineitem.sql @@ -19,6 +19,7 @@ CREATE TABLE IF NOT EXISTS lineitem ( UNIQUE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER) DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/nation.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/nation.sql index d83e91c001e727..042449c9cffe6f 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/nation.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/nation.sql @@ -7,6 +7,7 @@ CREATE TABLE IF NOT EXISTS nation ( UNIQUE KEY(N_NATIONKEY) DISTRIBUTED BY HASH(N_NATIONKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/orders.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/orders.sql index 58793417aa6390..431469e18e209e 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/orders.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/orders.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS orders ( UNIQUE KEY(O_ORDERKEY) DISTRIBUTED BY HASH(O_ORDERKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/part.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/part.sql index 30881dfc914aa3..a43cefe01c934d 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/part.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/part.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS part ( UNIQUE KEY(P_PARTKEY) DISTRIBUTED BY HASH(P_PARTKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/partsupp.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/partsupp.sql index 6c35db2152fe59..8d29ff0a3eec8a 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/partsupp.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/partsupp.sql @@ -8,6 +8,7 @@ CREATE TABLE IF NOT EXISTS partsupp ( UNIQUE KEY(PS_PARTKEY, PS_SUPPKEY) DISTRIBUTED BY HASH(PS_PARTKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/region.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/region.sql index f83fd250ecb133..4031b3fc260708 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/region.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/region.sql @@ -6,6 +6,7 @@ CREATE TABLE IF NOT EXISTS region ( UNIQUE KEY(R_REGIONKEY) DISTRIBUTED BY HASH(R_REGIONKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/tpch_sf1_unique_p2/ddl/supplier.sql b/regression-test/suites/tpch_sf1_unique_p2/ddl/supplier.sql index 8d09b6848b9e30..71bab5a07a4c7e 100644 --- a/regression-test/suites/tpch_sf1_unique_p2/ddl/supplier.sql +++ b/regression-test/suites/tpch_sf1_unique_p2/ddl/supplier.sql @@ -10,5 +10,6 @@ CREATE TABLE IF NOT EXISTS supplier ( UNIQUE KEY(S_SUPPKEY) DISTRIBUTED BY HASH(S_SUPPKEY) BUCKETS 1 PROPERTIES ( + "enable_mow_light_delete" = "true", "replication_num" = "1" ) diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_create.sql index d6566d3f1b35c3..1b5045e6a47732 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_create.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `customer` ( UNIQUE KEY (`c_custkey`) DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_sequence_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_sequence_create.sql index b756ad271b8a9d..1fd98ea6391681 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_sequence_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/customer_sequence_create.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `customer` ( UNIQUE KEY (`c_custkey`) DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_col" = 'c_custkey', "compression"="zstd", "replication_num" = "1", diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_create.sql index d6ad38d8bd83f5..f1e3b4f72dbb0d 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_create.sql @@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `date` ( UNIQUE KEY (`d_datekey`) DISTRIBUTED BY HASH(`d_datekey`) BUCKETS 1 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_sequence_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_sequence_create.sql index b450b872650c2b..317bedfbd953d7 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_sequence_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/date_sequence_create.sql @@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `date` ( UNIQUE KEY (`d_datekey`) DISTRIBUTED BY HASH(`d_datekey`) BUCKETS 1 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_col" = 'd_datekey', "compression"="zstd", "replication_num" = "1", diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_create.sql index 44bbfaf804c1d9..5b7ad6d45bcfbb 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_create.sql @@ -28,6 +28,7 @@ PARTITION p1997 VALUES [("19970101"), ("19980101")), PARTITION p1998 VALUES [("19980101"), ("19990101"))) DISTRIBUTED BY HASH(`lo_orderkey`) BUCKETS 48 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_sequence_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_sequence_create.sql index 230c4fde44d5dc..fbb869fabb200f 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_sequence_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/lineorder_sequence_create.sql @@ -28,6 +28,7 @@ PARTITION p1997 VALUES [("19970101"), ("19980101")), PARTITION p1998 VALUES [("19980101"), ("19990101"))) DISTRIBUTED BY HASH(`lo_orderkey`) BUCKETS 48 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_col" = 'lo_orderkey', "compression"="zstd", "replication_num" = "1", diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_create.sql index 0c6f6e371aa979..8d03167f909f6c 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_create.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `part` ( UNIQUE KEY (`p_partkey`) DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_sequence_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_sequence_create.sql index a06acd3d9f8b08..fe6c511531bd56 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_sequence_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/part_sequence_create.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `part` ( UNIQUE KEY (`p_partkey`) DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_col" = 'p_partkey', "compression"="zstd", "replication_num" = "1", diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_create.sql index b021767b47c160..dd146b460c2410 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_create.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `supplier` ( UNIQUE KEY (`s_suppkey`) DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_sequence_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_sequence_create.sql index e88dde59acd588..19255397170e98 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_sequence_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/ddl/supplier_sequence_create.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `supplier` ( UNIQUE KEY (`s_suppkey`) DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "function_column.sequence_col" = 's_suppkey', "compression"="zstd", "replication_num" = "1", diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/customer_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/customer_create.sql index d6566d3f1b35c3..1b5045e6a47732 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/customer_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/customer_create.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `customer` ( UNIQUE KEY (`c_custkey`) DISTRIBUTED BY HASH(`c_custkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/date_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/date_create.sql index d6ad38d8bd83f5..f1e3b4f72dbb0d 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/date_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/date_create.sql @@ -20,6 +20,7 @@ CREATE TABLE IF NOT EXISTS `date` ( UNIQUE KEY (`d_datekey`) DISTRIBUTED BY HASH(`d_datekey`) BUCKETS 1 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/lineorder_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/lineorder_create.sql index 44bbfaf804c1d9..5b7ad6d45bcfbb 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/lineorder_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/lineorder_create.sql @@ -28,6 +28,7 @@ PARTITION p1997 VALUES [("19970101"), ("19980101")), PARTITION p1998 VALUES [("19980101"), ("19990101"))) DISTRIBUTED BY HASH(`lo_orderkey`) BUCKETS 48 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/part_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/part_create.sql index 0c6f6e371aa979..8d03167f909f6c 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/part_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/part_create.sql @@ -12,6 +12,7 @@ CREATE TABLE IF NOT EXISTS `part` ( UNIQUE KEY (`p_partkey`) DISTRIBUTED BY HASH(`p_partkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true" diff --git a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/supplier_create.sql b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/supplier_create.sql index b021767b47c160..dd146b460c2410 100644 --- a/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/supplier_create.sql +++ b/regression-test/suites/unique_with_mow_p2/ssb_unique_sql_zstd/ddl/supplier_create.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `supplier` ( UNIQUE KEY (`s_suppkey`) DISTRIBUTED BY HASH(`s_suppkey`) BUCKETS 10 PROPERTIES ( +"enable_mow_light_delete" = "true", "compression"="zstd", "replication_num" = "1", "enable_unique_key_merge_on_write" = "true"