findepi opened a new pull request, #13030:
URL: https://github.com/apache/datafusion/pull/13030

   `take_optimizable` started from inspecting top level plan node (it should be 
final aggregation) and then descended trying to find matching partial 
aggregation. When doing so, it would ignore any single-source nodes it passes 
by. As a result, `AggregateStatistics` could change the plan in an undesired 
manner.
   


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

Reply via email to