This is an automated email from the ASF dual-hosted git repository.
zhangstar333 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 215658df819 [fix](case) add_drop_partition (#28185)
215658df819 is described below
commit 215658df819ab24cb6ad003d9a7f2ea3604a9698
Author: Dongyang Li <[email protected]>
AuthorDate: Mon Dec 11 11:31:52 2023 +0800
[fix](case) add_drop_partition (#28185)
Co-authored-by: stephen <[email protected]>
---
.../cold_heat_separation_p2/add_drop_partition.groovy | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git
a/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
b/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
index 77874710485..d76517b6bc9 100644
--- a/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
+++ b/regression-test/suites/cold_heat_separation_p2/add_drop_partition.groovy
@@ -219,7 +219,7 @@ suite("add_drop_partition") {
"""
try_sql """
- create storage policy tmp_policy
+ create storage policy IF NOT EXISTS add_policy
PROPERTIES( "storage_resource" = "add_resource", "cooldown_ttl" = "300");
"""
@@ -264,7 +264,7 @@ suite("add_drop_partition") {
}
sql """
- sql * from ${tableName}
+ select * from ${tableName}
"""
sql """
@@ -272,17 +272,14 @@ suite("add_drop_partition") {
"""
sql """
- drop storage policy add_policy;
+ drop storage policy IF EXISTS add_policy;
"""
sql """
- drop storage policy add_policy1;
+ drop storage policy IF EXISTS add_policy1;
"""
sql """
- drop resource add_resource;
+ drop resource IF EXISTS add_resource;
"""
-
-
-
}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]