fix logic test: aggregate.test
-onlyif mysql
statement ok
set enable_planner_v2 = 1;
-- # non-grouping column error
-onlyif mysql
statement error must appear in the GROUP BY clause or be used in an aggregate function
select number from numbers(10) group by number+1;
-onlyif mysql
statement error must appear in the GROUP BY clause or be used in an aggregate function
select count(number) from numbers(10) group by number+1 having number = 1;
-onlyif mysql
statement query I
select number +1 from numbers(1) group by number+1;
