jcsherin opened a new issue, #11668: URL: https://github.com/apache/datafusion/issues/11668
### Is your feature request related to a problem or challenge? The changes in #11564 introduced `AccumulatorArgs::is_reversed`. This indicates that the sort order of the aggregation is reversed. The existing implementation of `NthValueAgg` tracks this as internal state. Instead of that use `AccumulatorArgs::is_reversed`. ### Describe the solution you'd like Refactor `NthValueAgg` to use `AccumulatorArgs::is_reversed`. ### 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]
