Is your feature request related to a problem or challenge?
When implementing an user defined aggregator via AggregateUDF, it is not possible to use the 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:
- Implement the code
- 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