diff --git a/regression-test/data/nereids_p0/select_no_from/sql/projectAggFuncs.out b/regression-test/data/nereids_p0/select_no_from/sql/projectAggFuncs.out index 7ae8fd347e..026d76a33b 100644 --- a/regression-test/data/nereids_p0/select_no_from/sql/projectAggFuncs.out +++ b/regression-test/data/nereids_p0/select_no_from/sql/projectAggFuncs.out @@ -1,4 +1,7 @@ -- This file is automatically generated. You should know what you did if you want to edit this -- !projectAggFuncs -- +0 + +-- !projectAggFuncs_2 -- 1 a 1 2 2.0 3 4 1 1 1 5 6.0 1 7 8 diff --git a/regression-test/data/query_p0/select_no_from/sql/projectAggFuncs.out b/regression-test/data/query_p0/select_no_from/sql/projectAggFuncs.out index 7ae8fd347e..026d76a33b 100644 --- a/regression-test/data/query_p0/select_no_from/sql/projectAggFuncs.out +++ b/regression-test/data/query_p0/select_no_from/sql/projectAggFuncs.out @@ -1,4 +1,7 @@ -- This file is automatically generated. You should know what you did if you want to edit this -- !projectAggFuncs -- +0 + +-- !projectAggFuncs_2 -- 1 a 1 2 2.0 3 4 1 1 1 5 6.0 1 7 8 diff --git a/regression-test/suites/nereids_p0/select_no_from/sql/projectAggFuncs.sql b/regression-test/suites/nereids_p0/select_no_from/sql/projectAggFuncs.sql index d2416eb991..59f49d9679 100644 --- a/regression-test/suites/nereids_p0/select_no_from/sql/projectAggFuncs.sql +++ b/regression-test/suites/nereids_p0/select_no_from/sql/projectAggFuncs.sql @@ -1,4 +1,5 @@ -- database: presto; groups: no_from +SET enable_nereids_planner = TRUE; SELECT 1, 'a', COUNT(), @@ -13,5 +14,4 @@ SELECT 1, AVG(6) OVER() AS w_avg, COUNT() OVER() AS w_count, MAX(7) OVER() AS w_max, - MIN(8) OVER() AS w_min; - + MIN(8) OVER() AS w_min; \ No newline at end of file diff --git a/regression-test/suites/query_p0/select_no_from/sql/projectAggFuncs.sql b/regression-test/suites/query_p0/select_no_from/sql/projectAggFuncs.sql index a0007ff2df..6afb06d5e3 100644 --- a/regression-test/suites/query_p0/select_no_from/sql/projectAggFuncs.sql +++ b/regression-test/suites/query_p0/select_no_from/sql/projectAggFuncs.sql @@ -1,4 +1,5 @@ -- database: presto; groups: no_from +SET enable_nereids_planner = TRUE; SELECT 1, 'a', COUNT(), @@ -13,4 +14,4 @@ SELECT 1, AVG(6) OVER() AS w_avg, COUNT() OVER() AS w_count, MAX(7) OVER() AS w_max, - MIN(8) OVER() AS w_min; + MIN(8) OVER() AS w_min; \ No newline at end of file