Skip to content

Commit

Permalink
no cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Aug 7, 2024
1 parent 729c05b commit 8884ac4
Show file tree
Hide file tree
Showing 705 changed files with 2,115 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query1") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query10") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query11") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query12") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query13") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query14") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query15") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query16") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query17") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query18") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query19") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query2") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query20") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query21") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query22") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query24") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query25") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query26") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query27") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query28") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query29") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query3") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query30") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query31") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query34") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query36") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query37") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query39") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query4") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query40") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query41") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query42") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query43") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query44") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query45") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query46") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query47") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query48") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query49") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

suite("query5") {
String db = context.config.getDbNameByFile(new File(context.file.parent))
if (isCloudMode()) {
return
}
sql "use ${db}"
sql 'set enable_nereids_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Loading

0 comments on commit 8884ac4

Please sign in to comment.