NGA-TRAN commented on issue #18777:
URL: https://github.com/apache/datafusion/issues/18777#issuecomment-3544762363

   Another question:
   
   We’re considering replacing the current two-step aggregation pattern 
`Aggregate Final -> Some Nodes -> Aggregate Partial` with a single-step 
aggregation: `Aggregate SinglePartitioned`.
   
   Would this transformation be something you can detect and apply within an 
existing (or new) optimizer rule? Or do you actually need a dedicated rule that 
**prevents** the two-step aggregation from being generated in the first place?
   
   I assume the exact implementation details will become clearer once you start 
working on it.
   
   


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