feiniaofeiafei opened a new pull request, #31263:
URL: https://github.com/apache/doris/pull/31263
## Proposed changes
select sum(a) from t group by grouping sets ((a)); The slot a appearing
both in agg func and grouping sets.
Report an error: col_int_undef_signed cannot both in select list and
aggregate functions when using GROUPING SETS/CUBE/ROLLUP, please use union
instead.
This PR removes the restriction and supports this situation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]