[test](regression) add analyze after stream load (#21066)

This commit is contained in:
shuke
2023-06-21 16:03:46 +08:00
committed by GitHub
parent 4d84cd8ca1
commit 4766e75d4e
21 changed files with 27 additions and 4 deletions

View File

@ -72,5 +72,6 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
}

View File

@ -73,5 +73,6 @@ suite('load') {
rowCount = sql "select count(*) from ${table}"
}
assertEquals(rows, rowCount[0][0])
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -73,5 +73,6 @@ suite('load') {
rowCount = sql "select count(*) from ${table}"
}
assertEquals(rows, rowCount[0][0])
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -98,5 +98,6 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
}

View File

@ -67,5 +67,6 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
}

View File

@ -137,6 +137,7 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
// CREATE-TABLE-AS-SELECT

View File

@ -73,6 +73,8 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
def table = "revenue1"

View File

@ -67,6 +67,6 @@ suite("load") {
sleep(5000)
}
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -116,5 +116,6 @@ suite("load_four_step") {
}
sleep(5000)
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -67,5 +67,7 @@ suite("load_one_step") {
}
sleep(5000)
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -92,5 +92,6 @@ suite("load_three_step") {
}
sleep(5000)
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -69,5 +69,6 @@ suite("load_two_step") {
}
sleep(5000)
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -67,6 +67,6 @@ suite("load") {
sleep(5000)
}
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -119,5 +119,7 @@ suite("load_four_step") {
finally {
try_sql("DROP TABLE IF EXISTS ${table}")
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -71,5 +71,7 @@ suite("load_one_step") {
finally {
try_sql("DROP TABLE IF EXISTS ${table}")
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -96,6 +96,7 @@ suite("load_three_step") {
finally {
try_sql("DROP TABLE IF EXISTS ${table}")
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -72,6 +72,6 @@ suite("load_two_step") {
finally {
try_sql("DROP TABLE IF EXISTS ${table}")
}
sql """ ANALYZE TABLE $table WITH SYNC """
}
}

View File

@ -108,6 +108,8 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
def table = "revenue1"

View File

@ -97,6 +97,7 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
def table = "revenue1"

View File

@ -73,6 +73,7 @@ suite("load") {
assertTrue(json.NumberLoadedRows > 0 && json.LoadBytes > 0)
}
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
def table = "revenue1"

View File

@ -68,5 +68,6 @@ suite("load_three_step") {
logger.info("select ${tableName} numbers: ${loadRowCount[0][0]}".toString())
assertTrue(loadRowCount[0][0] == 0)
}
sql """ ANALYZE TABLE $tableName WITH SYNC """
}
}