[chore](coldHeatCases) drop table first to enhance robustness (#20629)

This commit is contained in:
AlexYue
2023-06-11 13:51:05 +08:00
committed by GitHub
parent 3d9e520fb2
commit 8a2e0504e4
4 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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