Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jul 18, 2024
1 parent 564c387 commit 0568401
Show file tree
Hide file tree
Showing 97 changed files with 293 additions and 5 deletions.
3 changes: 3 additions & 0 deletions regression-test/suites/new_shapes_p0/clickbench/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
// Note: To filter out tables from sql files, use the following one-liner comamnd
// sed -nr 's/.*tables: (.*)$/\1/gp' /path/to/*.sql | sed -nr 's/,/\n/gp' | sort | uniq
suite("load") {
if (isCloudMode()) {
return
}

sql """
DROP TABLE IF EXISTS hits
Expand Down
3 changes: 3 additions & 0 deletions regression-test/suites/new_shapes_p0/clickbench/query1.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query1") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query10") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query11") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query12") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query13") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query14") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query15") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query16") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query17") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query18") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query19") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
3 changes: 3 additions & 0 deletions regression-test/suites/new_shapes_p0/clickbench/query2.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query2") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query20") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query21") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query22") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query23") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query24") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query25") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query26") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query27") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query28") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query29") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
3 changes: 3 additions & 0 deletions regression-test/suites/new_shapes_p0/clickbench/query3.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query3") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query30") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query31") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query32") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query33") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query34") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query35") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query36") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query37") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query38") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query39") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
3 changes: 3 additions & 0 deletions regression-test/suites/new_shapes_p0/clickbench/query4.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query4") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query40") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query41") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query42") {
if (isCloudMode()) {
return
}

sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query43") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
3 changes: 3 additions & 0 deletions regression-test/suites/new_shapes_p0/clickbench/query5.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/

suite("query5") {
if (isCloudMode()) {
return
}
sql 'set enable_nereids_planner=true'
sql 'set enable_nereids_distribute_planner=true'
sql 'set enable_fallback_to_original_planner=false'
Expand Down
Loading

0 comments on commit 0568401

Please sign in to comment.