[fix](nereids) Set to use nereids planner in select aggregation expr without from scene when regression-test (#25665)

This commit is contained in:
JingDas
2023-10-20 17:32:58 +08:00
committed by GitHub
parent a2ceea5951
commit e159bdc479
4 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;