alamb opened a new issue, #11816: URL: https://github.com/apache/datafusion/issues/11816
### 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. In order to use this new mode, the corresponding `GroupsAccumulator` needs to implement the `convert_to_state` method https://github.com/apache/datafusion/blob/c340b6ab7a2875c6924f825782f0c5ea408aff3d/datafusion/expr/src/groups_accumulator.rs#L166-L213 ### Describe the solution you'd like Implement `covert_to_state` for https://github.com/apache/datafusion/blob/2f02c43b6283472c7c620c68819050128a7e8544/datafusion-examples/examples/advanced_udaf.rs#L269-L268 Add tests in https://github.com/apache/datafusion/blob/c340b6ab7a2875c6924f825782f0c5ea408aff3d/datafusion/sqllogictest/test_files/aggregate_skip_partial.slt#L18-L19 ### Describe alternatives you've considered _No response_ ### 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]
