Skip to content

Commit

Permalink
[cherry-pick](branch-2.0) Pick "[Fix](delete) Fix some delete p2 case (
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian authored Oct 14, 2024
1 parent 3518c7d commit 50e0dcd
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 50e0dcd

Please sign in to comment.