This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 32dc0250ba [Chore](ColdHeatSeparation) change partition value for cold
heat separation case (#22996)
32dc0250ba is described below
commit 32dc0250babf01e2a574ebe8e864302db91c15c7
Author: AlexYue <[email protected]>
AuthorDate: Mon Aug 21 16:14:08 2023 +0800
[Chore](ColdHeatSeparation) change partition value for cold heat separation
case (#22996)
---
.../create_table_use_partition_policy.groovy | 4 ++--
.../cold_heat_separation_p2/modify_replica_use_partition.groovy | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
b/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
index 3e9a8dd143..b059cc545f 100644
---
a/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
+++
b/regression-test/suites/cold_heat_separation_p2/create_table_use_partition_policy.groovy
@@ -181,7 +181,7 @@ suite("create_table_use_partition_policy") {
DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER)
PARTITION BY RANGE(`L_SHIPDATE`)
(
- PARTITION `p202301` VALUES LESS THAN ("2017-02-01")
("storage_policy" = "${policy_name}"),
+ PARTITION `p202301` VALUES LESS THAN ("1995-12-01")
("storage_policy" = "${policy_name}"),
PARTITION `p202302` VALUES LESS THAN ("2017-03-01")
)
DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 3
@@ -293,7 +293,7 @@ suite("create_table_use_partition_policy") {
DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER)
PARTITION BY RANGE(`L_SHIPDATE`)
(
- PARTITION `p202301` VALUES LESS THAN ("2017-02-01")
("storage_policy" = "${policy_name}"),
+ PARTITION `p202301` VALUES LESS THAN ("1995-12-01")
("storage_policy" = "${policy_name}"),
PARTITION `p202302` VALUES LESS THAN ("2017-03-01")
)
DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 3
diff --git
a/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy
b/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy
index fc6566bbdb..57b769c231 100644
---
a/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy
+++
b/regression-test/suites/cold_heat_separation_p2/modify_replica_use_partition.groovy
@@ -196,7 +196,7 @@ suite("modify_replica_use_partition") {
DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER)
PARTITION BY RANGE(`L_SHIPDATE`)
(
- PARTITION `p202301` VALUES LESS THAN ("2017-02-01"),
+ PARTITION `p202301` VALUES LESS THAN ("1995-12-01"),
PARTITION `p202302` VALUES LESS THAN ("2017-03-01")
)
DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 3
@@ -307,7 +307,7 @@ suite("modify_replica_use_partition") {
DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER)
PARTITION BY RANGE(`L_SHIPDATE`)
(
- PARTITION `p202301` VALUES LESS THAN ("2017-02-01"),
+ PARTITION `p202301` VALUES LESS THAN ("1995-12-01"),
PARTITION `p202302` VALUES LESS THAN ("2017-03-01")
)
DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 3
@@ -401,7 +401,7 @@ suite("modify_replica_use_partition") {
DUPLICATE KEY(L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER)
PARTITION BY RANGE(`L_SHIPDATE`)
(
- PARTITION `p202301` VALUES LESS THAN ("2017-02-01")
("replication_num" = "3"),
+ PARTITION `p202301` VALUES LESS THAN ("1995-12-01")
("replication_num" = "3"),
PARTITION `p202302` VALUES LESS THAN ("2017-03-01")
("replication_num" = "1")
)
DISTRIBUTED BY HASH(L_ORDERKEY) BUCKETS 3
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]