alamb opened a new issue, #6611: URL: https://github.com/apache/arrow-datafusion/issues/6611
### Is your feature request related to a problem or challenge? When implementing an user defined aggregator via [AggregateUDF](https://docs.rs/datafusion/latest/datafusion/physical_plan/udaf/struct.AggregateUDF.html), it is not possible to use the [`retract_batch`](https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.Accumulator.html#method.retract_batch) API to incrementally update aggregate functions used as window functions ### Describe the solution you'd like I would like to extend somehow so user defined aggregate functions can take advantage of retract_batch Ideally: 1. Implement the code 2. Update / add an end to end example showing how to use this API -- the existing example is https://github.com/apache/arrow-datafusion/blob/main/datafusion-examples/examples/simple_udaf.rs ### Describe alternatives you've considered _No response_ ### Additional context @stuartcarnie found this gap while working on functionality for IOx -- 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]
