Skip to content

Commit

Permalink
[fix](case) fix opensky_p2 cases (#46914)
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring authored Jan 13, 2025
1 parent fff81ec commit 4e4f41f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ suite("load", "p2, nonConcurrent") {
sql "set insert_timeout=3600"
def r = sql "select @@insert_timeout"
assertEquals(3600, r[0][0])
year_cons = [
def year_cons = [
'lo_orderdate<19930101',
'lo_orderdate>=19930101 and lo_orderdate<19940101',
'lo_orderdate>=19940101 and lo_orderdate<19950101',
Expand Down
2 changes: 1 addition & 1 deletion regression-test/suites/opensky_p2/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ suite("load"){

sql """ DROP TABLE IF EXISTS $tableName """

scriptDir = new File(getClass().protectionDomain.codeSource.location.path).parent
def scriptDir = new File(getClass().protectionDomain.codeSource.location.path).parent

sql new File("""${scriptDir}/ddl/${tableName}.sql""").text

Expand Down
2 changes: 1 addition & 1 deletion regression-test/suites/s3_vault/ssb_sf1_p2/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ suite("load") {
sql "set insert_timeout=3600"
def r = sql "select @@insert_timeout"
assertEquals(3600, r[0][0])
year_cons = [
def year_cons = [
'lo_orderdate<19930101',
'lo_orderdate>=19930101 and lo_orderdate<19940101',
'lo_orderdate>=19940101 and lo_orderdate<19950101',
Expand Down
2 changes: 1 addition & 1 deletion regression-test/suites/ssb_sf100_p2/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ suite('load') {
sql "sync"
def r = sql "select @@insert_timeout"
assertEquals(3600, r[0][0])
year_cons = [
def year_cons = [
'lo_orderdate<19930101',
'lo_orderdate>=19930101 and lo_orderdate<19940101',
'lo_orderdate>=19940101 and lo_orderdate<19950101',
Expand Down
2 changes: 1 addition & 1 deletion regression-test/suites/ssb_sf1_p2/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ suite("load") {
sql "set insert_timeout=3600"
def r = sql "select @@insert_timeout"
assertEquals(3600, r[0][0])
year_cons = [
def year_cons = [
'lo_orderdate<19930101',
'lo_orderdate>=19930101 and lo_orderdate<19940101',
'lo_orderdate>=19940101 and lo_orderdate<19950101',
Expand Down

0 comments on commit 4e4f41f

Please sign in to comment.