Dandandan opened a new issue, #5948: URL: https://github.com/apache/arrow-datafusion/issues/5948
### Is your feature request related to a problem or challenge? Currently the window expressions use `Accumulator` to generate the output values. This should be relatively inefficient as each individual value will generate a `ScalarValue`, leading to many allocations, high memory usage and limited vectorization. ### Describe the solution you'd like Write more efficient code moving away from `Accumulator` and producing the values more directly. ### Describe alternatives you've considered _No response_ ### Additional context If we don't use `Accumulator` in window functions anymore, we can remove `count` from `SumAccumulator`, making conventional sums slightly more efficient. -- 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]
