alamb opened a new issue, #11815:
URL: https://github.com/apache/datafusion/issues/11815

   ### Is your feature request related to a problem or challenge?
   
   @korowa  added "skip partial aggregation mode" in 
https://github.com/apache/datafusion/pull/11627 which helps with high 
cardinality aggregates by doing minimal work for the first phase of the 
aggregation. This mode is triggered dynamically based on how effective the 
first aggregation phase is working. 
   
   However, it is not clear from the metrics (e.g. the output of `EXPLAIN 
ANALYZE` plans) when this mode
   
   ### Describe the solution you'd like
   
   I would like some sort of metric that can be used to determine when the 
partial aggregation phase has been invoked
   
   ### Describe alternatives you've considered
   
   I think the number of convert_to_state rows is a good metric -- 0 means no 
partial aggregation was done, and more than 1 gives the number of rows that 
were subject to the partial aggregate. 
   
   ### 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to