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 a852ff36f4 remove create hot partition failed check (#22093)
a852ff36f4 is described below
commit a852ff36f4b41616872b40766e51b0afe9df161a
Author: Pxl <[email protected]>
AuthorDate: Sat Jul 22 17:47:46 2023 +0800
remove create hot partition failed check (#22093)
---
.../test_dynamic_partition.groovy | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git
a/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition.groovy
b/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition.groovy
index f4680ff681..1a69dda4c7 100644
---
a/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition.groovy
+++
b/regression-test/suites/partition_p0/dynamic_partition/test_dynamic_partition.groovy
@@ -149,26 +149,4 @@ suite("test_dynamic_partition") {
exception "errCode = 2,"
}
sql "drop table if exists dy_par_bad"
- test {
- sql """
- CREATE TABLE IF NOT EXISTS dy_par_bad
- ( k1 date NOT NULL, k2 varchar(20) NOT NULL, k3 int sum NOT NULL )
- AGGREGATE KEY(k1,k2)
- PARTITION BY RANGE(k1) ( )
- DISTRIBUTED BY HASH(k1) BUCKETS 3
- PROPERTIES (
- "dynamic_partition.enable"="true",
- "dynamic_partition.end"="3",
- "dynamic_partition.start"="-3",
- "dynamic_partition.prefix"="p",
- "dynamic_partition.time_unit"="DAY",
- "dynamic_partition.create_history_partition"="true",
- "dynamic_partition.hot_partition_num" = "2",
- "dynamic_partition.replication_allocation" =
"tag.location.default: 1")
- """
- // check exception message contains
- // dynamic_partition.hot_partition_num > 0 will require ssd storage
medium
- exception "errCode = 2,"
- }
- sql "drop table if exists dy_par_bad"
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]