alamb commented on issue #7518: URL: https://github.com/apache/arrow-datafusion/issues/7518#issuecomment-1714302935
> I may be missing something but it looks like window functions are only evaluated on data that is already sorted, as such it should be possible to identify the partition boundaries in a single pass, and then use this information to efficiently extract the window boundaries. The window functions are indeed always evaluated on data that is sorted. We might be able to operate directly on `Array` for windows that are defined as a row size, and as @mustafasrepo suggests operate on `Row`s for windows defined by value -- 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]
