This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new ec1e25b434d [Enhancement](delete) Modify some delete cases to ajust 
enable_mow_light_delete config #40387 (#40515)
ec1e25b434d is described below

commit ec1e25b434d7a556eacc20bcb324ac8aa51daf45
Author: abmdocrt <yukang.lian2...@gmail.com>
AuthorDate: Mon Sep 9 14:20:26 2024 +0800

    [Enhancement](delete) Modify some delete cases to ajust 
enable_mow_light_delete config #40387 (#40515)
---
 regression-test/suites/compaction/test_full_compaction.groovy        | 1 +
 .../suites/compaction/test_full_compaction_by_table_id.groovy        | 1 +
 .../suites/nereids_p0/delete/delete_mow_partial_update.groovy        | 3 +++
 .../suites/nereids_p0/explain/test_pushdown_explain.groovy           | 3 +++
 .../partial_update/test_new_partial_update_delete.groovy             | 3 +++
 .../partial_update/test_partial_update_after_delete.groovy           | 2 ++
 .../partial_update/test_partial_update_delete.groovy                 | 5 +++++
 7 files changed, 18 insertions(+)

diff --git a/regression-test/suites/compaction/test_full_compaction.groovy 
b/regression-test/suites/compaction/test_full_compaction.groovy
index eaebd33377d..c10bb8c7f21 100644
--- a/regression-test/suites/compaction/test_full_compaction.groovy
+++ b/regression-test/suites/compaction/test_full_compaction.groovy
@@ -51,6 +51,7 @@ suite("test_full_compaction") {
             BUCKETS 1 
             PROPERTIES ("replication_allocation" = "tag.location.default: 1",
             "disable_auto_compaction" = "true",
+            "enable_mow_light_delete" = "false",
             "enable_unique_key_merge_on_write" = "true");"""
 
         // version1 (1,1)(2,2)
diff --git 
a/regression-test/suites/compaction/test_full_compaction_by_table_id.groovy 
b/regression-test/suites/compaction/test_full_compaction_by_table_id.groovy
index cd721774c21..3de98cbd6f4 100644
--- a/regression-test/suites/compaction/test_full_compaction_by_table_id.groovy
+++ b/regression-test/suites/compaction/test_full_compaction_by_table_id.groovy
@@ -53,6 +53,7 @@ suite("test_full_compaction_by_table_id") {
             BUCKETS 8 
             PROPERTIES ("replication_allocation" = "tag.location.default: 1",
             "disable_auto_compaction" = "true",
+            "enable_mow_light_delete" = "false",
             "enable_unique_key_merge_on_write" = "true");"""
 
         // version1 (1,1)(2,2)
diff --git 
a/regression-test/suites/nereids_p0/delete/delete_mow_partial_update.groovy 
b/regression-test/suites/nereids_p0/delete/delete_mow_partial_update.groovy
index bfb27ce14ba..2e6cfba0ee0 100644
--- a/regression-test/suites/nereids_p0/delete/delete_mow_partial_update.groovy
+++ b/regression-test/suites/nereids_p0/delete/delete_mow_partial_update.groovy
@@ -43,6 +43,7 @@ suite('nereids_delete_mow_partial_update') {
                 PROPERTIES (
                     "enable_unique_key_merge_on_write" = "true",
                     "disable_auto_compaction" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "store_row_column" = "${use_row_store}"); """
 
@@ -55,6 +56,7 @@ suite('nereids_delete_mow_partial_update') {
                 PROPERTIES (
                     "enable_unique_key_merge_on_write" = "true",
                     "disable_auto_compaction" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "store_row_column" = "${use_row_store}"); """
 
@@ -94,6 +96,7 @@ suite('nereids_delete_mow_partial_update') {
                 PROPERTIES (
                     "enable_unique_key_merge_on_write" = "true",
                     "disable_auto_compaction" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "store_row_column" = "${use_row_store}"); """
 
diff --git 
a/regression-test/suites/nereids_p0/explain/test_pushdown_explain.groovy 
b/regression-test/suites/nereids_p0/explain/test_pushdown_explain.groovy
index ce74d60687c..d319e954b54 100644
--- a/regression-test/suites/nereids_p0/explain/test_pushdown_explain.groovy
+++ b/regression-test/suites/nereids_p0/explain/test_pushdown_explain.groovy
@@ -69,6 +69,7 @@ suite("test_pushdown_explain") {
         COMMENT 'OLAP'
         DISTRIBUTED BY HASH(`user_id`) BUCKETS 1
         PROPERTIES (
+        "enable_mow_light_delete" = "false",
         "replication_allocation" = "tag.location.default: 1",
         "disable_auto_compaction" = "true"
         );
@@ -110,6 +111,7 @@ suite("test_pushdown_explain") {
         COMMENT 'OLAP'
         DISTRIBUTED BY HASH(`user_id`) BUCKETS 1
         PROPERTIES (
+        "enable_mow_light_delete" = "false",
         "replication_allocation" = "tag.location.default: 1",
         "disable_auto_compaction" = "true"
         );
@@ -196,6 +198,7 @@ suite("test_pushdown_explain") {
         PROPERTIES (
         "replication_allocation" = "tag.location.default: 1",
         "disable_auto_compaction" = "true",
+        "enable_mow_light_delete" = "false",
         "enable_unique_key_merge_on_write" = "false"
         );
     """
diff --git 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_new_partial_update_delete.groovy
 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_new_partial_update_delete.groovy
index cd8a77fad2e..56af41b0c41 100644
--- 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_new_partial_update_delete.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_new_partial_update_delete.groovy
@@ -65,6 +65,7 @@ suite('test_new_partial_update_delete') {
                     PROPERTIES (
                         "disable_auto_compaction" = "true",
                         "enable_unique_key_merge_on_write" = "false",
+                        "enable_mow_light_delete" = "false",
                         "replication_num" = "1",
                         "store_row_column" = "${use_row_store}"); """
                 sql """alter table ${tableMorName2} set 
("enable_mow_light_delete"="true")"""
@@ -86,6 +87,7 @@ suite('test_new_partial_update_delete') {
                 PROPERTIES (
                     "disable_auto_compaction" = "true",
                     "enable_unique_key_merge_on_write" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "store_row_column" = "${use_row_store}"); """
 
@@ -199,6 +201,7 @@ suite('test_new_partial_update_delete') {
                 DISTRIBUTED BY HASH(k1) BUCKETS 1
                 PROPERTIES (
                     "disable_auto_compaction" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "enable_unique_key_merge_on_write" = "true",
                     "store_row_column" = "${use_row_store}"); """
diff --git 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_after_delete.groovy
 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_after_delete.groovy
index 41cebac66bd..97a76567688 100644
--- 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_after_delete.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_after_delete.groovy
@@ -40,6 +40,7 @@ suite("test_partial_update_after_delete", "p0") {
                 PROPERTIES (
                     "enable_unique_key_merge_on_write" = "true",
                     "disable_auto_compaction" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "store_row_column" = "${use_row_store}"); """
             
@@ -65,6 +66,7 @@ suite("test_partial_update_after_delete", "p0") {
                 PROPERTIES (
                     "enable_unique_key_merge_on_write" = "true",
                     "disable_auto_compaction" = "true",
+                    "enable_mow_light_delete" = "false",
                     "replication_num" = "1",
                     "store_row_column" = "${use_row_store}"); """
             
diff --git 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_delete.groovy
 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_delete.groovy
index fc59038122a..01b888a7e55 100644
--- 
a/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_delete.groovy
+++ 
b/regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_delete.groovy
@@ -46,6 +46,7 @@ suite('test_partial_update_delete') {
                     PROPERTIES (
                         "enable_unique_key_merge_on_write" = "true",
                         "disable_auto_compaction" = "true",
+                        "enable_mow_light_delete" = "false",
                         "replication_num" = "1",
                         "store_row_column" = "${use_row_store}"); """
 
@@ -59,6 +60,7 @@ suite('test_partial_update_delete') {
                     PROPERTIES (
                         "enable_unique_key_merge_on_write" = "true",
                         "disable_auto_compaction" = "true",
+                        "enable_mow_light_delete" = "false",
                         "replication_num" = "1",
                         "store_row_column" = "${use_row_store}"); """
 
@@ -95,6 +97,7 @@ suite('test_partial_update_delete') {
                     PROPERTIES (
                         "enable_unique_key_merge_on_write" = "true",
                         "disable_auto_compaction" = "true",
+                        "enable_mow_light_delete" = "false",
                         "replication_num" = "1",
                         "store_row_column" = "${use_row_store}"); """
 
@@ -145,6 +148,7 @@ suite('test_partial_update_delete') {
                     PROPERTIES (
                         "enable_unique_key_merge_on_write" = "true",
                         "disable_auto_compaction" = "true",
+                        "enable_mow_light_delete" = "false",
                         "replication_num" = "1",
                         "store_row_column" = "${use_row_store}",
                         "function_column.sequence_col" = "c3"); """
@@ -197,6 +201,7 @@ suite('test_partial_update_delete') {
                     PROPERTIES (
                         "enable_unique_key_merge_on_write" = "true",
                         "disable_auto_compaction" = "true",
+                        "enable_mow_light_delete" = "false",
                         "replication_num" = "1",
                         "store_row_column" = "${use_row_store}",
                         "function_column.sequence_type" = "int"); """


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to