Skip to content

Commit

Permalink
add case
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Dec 29, 2023
1 parent 3a2412a commit 258d742
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ suite("load_one_step") {
logger.info("select ${table} numbers: ${loadRowCount[0][0]}".toString())
assertTrue(loadRowCount[0][0] == rows)
}
if (table == "lineitem") {
def loadRowCount = sql "select count(1) from ${table} where l_orderkey = 1"
logger.info("select ${table} numbers: ${loadRowCount[0][0]}".toString())
assertTrue(loadRowCount[0][0] == 7)
}
sql new File("""${context.file.parentFile.parent}/ddl/${table}_delete.sql""").text
for (int i = 1; i <= 5; i++) {
def loadRowCount = sql "select count(1) from ${table}"
Expand All @@ -67,7 +72,7 @@ suite("load_one_step") {
}
sleep(5000)
}

sql """SET query_timeout = 1800"""
sql """ ANALYZE TABLE $table WITH SYNC """
}
Expand Down

0 comments on commit 258d742

Please sign in to comment.