yikf opened a new issue, #12652: URL: https://github.com/apache/gluten/issues/12652
### Description The `MergeTwoPhasesHashBaseAggregate` rule merges a two-phase aggregate (partial + final, when there is no shuffle between them) into a single complete-mode aggregate. today the rule explicitly skips any aggregate whose expressions carry a FILTER clause, e.g. `count(x) FILTER (WHERE ...)`, leaving two aggregate nodes where one would suffice. ### Gluten version main branch -- 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]
