Skip to content

Commit

Permalink
[cherry-pick](branch-2.1) Pick "[Fix](delete) Fix delete on value cas…
Browse files Browse the repository at this point in the history
…e due to compaction (apache#37917)" (apache#38116)

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->

Pick apache#37917
  • Loading branch information
Yukang-Lian authored Jul 19, 2024
1 parent 27d7461 commit 53ca312
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regression-test/suites/delete_p0/test_delete_on_value.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ suite("test_delete_on_value") {
DISTRIBUTED BY HASH(`x`) BUCKETS 4
PROPERTIES (
"replication_num" = "1",
"disable_auto_compaction" = "true",
"enable_unique_key_merge_on_write" = "true"
);"""
sql """ insert into ${tableName} values(1,1,1),(2,2,2),(3,3,3),(4,4,4),(5,5,5),(6,6,6),(7,7,7),(8,8,8),(9,9,9); """
Expand Down Expand Up @@ -65,6 +66,7 @@ suite("test_delete_on_value") {
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`x`) BUCKETS 4
PROPERTIES (
"disable_auto_compaction" = "true",
"replication_num" = "1"
);"""
sql """ insert into ${tableName2} values(1,1,1); """
Expand All @@ -87,6 +89,7 @@ suite("test_delete_on_value") {
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`x`) BUCKETS 4
PROPERTIES (
"disable_auto_compaction" = "true",
"replication_num" = "1",
"enable_unique_key_merge_on_write" = "true",
"function_column.sequence_col" = "z"
Expand Down Expand Up @@ -123,6 +126,7 @@ suite("test_delete_on_value") {
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`x`) BUCKETS 4
PROPERTIES (
"disable_auto_compaction" = "true",
"replication_num" = "1",
"enable_unique_key_merge_on_write" = "false",
"function_column.sequence_col" = "z"
Expand Down

0 comments on commit 53ca312

Please sign in to comment.