haruband opened a new issue, #8778: URL: https://github.com/apache/arrow-datafusion/issues/8778
### Describe the bug It seems a optimizer cannot combine adjacent partial and final AggregateExecs into a single AggregateExec. Because a EnforceDistribution rule which runs before a CombinePartialFinalAggregate rule inserts a RepartitionExec for hashing between adjacent partial and final AggregateExecs. ### To Reproduce _No response_ ### Expected behavior A optimizer should combine adjacent partial and final AggregateExecs, if possible. ### Additional context _No response_ -- 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]
