You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2023/06/11 05:51:12 UTC

[doris] branch master updated: [chore](coldHeatCases) drop table first to enhance robustness (#20629)

This is an automated email from the ASF dual-hosted git repository.

dataroaring 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 8a2e0504e4 [chore](coldHeatCases) drop table first to enhance robustness (#20629)
8a2e0504e4 is described below

commit 8a2e0504e47654e2b0366fdd837ab7ca5b92d589
Author: AlexYue <yj...@gmail.com>
AuthorDate: Sun Jun 11 13:51:05 2023 +0800

    [chore](coldHeatCases) drop table first to enhance robustness (#20629)
---
 .../cold_heat_separation_p2/create_table_use_partition_policy.groovy     | 1 +
 .../suites/cold_heat_separation_p2/create_table_use_policy.groovy        | 1 +
 .../suites/cold_heat_separation_p2/modify_replica_use_partition.groovy   | 1 +
 .../cold_heat_separation_p2/table_modify_resouce_and_policy.groovy       | 1 +
 4 files changed, 4 insertions(+)

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 8af02ce0af..3e9a8dd143 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
@@ -48,6 +48,7 @@ suite("create_table_use_partition_policy") {
     // used as passing out parameter to fetchDataSize
     List<Long> sizes = [-1, -1]
     def tableName = "lineitem1"
+    sql """ DROP TABLE IF EXISTS ${tableName} """
     def stream_load_one_part = { partnum ->
         streamLoad {
             table tableName
diff --git a/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy b/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy
index b8395d5b07..fb7f115993 100644
--- a/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy
+++ b/regression-test/suites/cold_heat_separation_p2/create_table_use_policy.groovy
@@ -48,6 +48,7 @@ suite("create_table_use_policy") {
     // used as passing out parameter to fetchDataSize
     List<Long> sizes = [-1, -1]
     def tableName = "lineitem2"
+    sql """ DROP TABLE IF EXISTS ${tableName} """
     def stream_load_one_part = { partnum ->
         streamLoad {
             table tableName
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 bd22c3f7ef..fc6566bbdb 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
@@ -63,6 +63,7 @@ suite("modify_replica_use_partition") {
     }
 
     def tableName = "lineitem3"
+    sql """ DROP TABLE IF EXISTS ${tableName} """
     def stream_load_one_part = { partnum ->
         streamLoad {
             table tableName
diff --git a/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy b/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
index 37f0bd1439..82a4441c9f 100644
--- a/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
+++ b/regression-test/suites/cold_heat_separation_p2/table_modify_resouce_and_policy.groovy
@@ -48,6 +48,7 @@ suite("table_modify_resouce") {
     // used as passing out parameter to fetchDataSize
     List<Long> sizes = [-1, -1]
     def tableName = "lineitem4"
+    sql """ DROP TABLE IF EXISTS ${tableName} """
     def stream_load_one_part = { partnum ->
         streamLoad {
             table tableName


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org