You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Epic]: Improved Support for order aware aggregates #8583
Is your feature request related to a problem or challenge?
This type of function is important in streaming usecases and the goal is to support multiple order aware normal (as opposed to window) aggregates such as various N'th value, rank functions, etc and timeseries functions. These would be both for built in functions and user defined aggregates.
At the time of writing DataFusion supports three aggregate functions that can be "order aware": ARRAY_AGG, FIRST_VALUE and LAST_VALUE. This means that you can supply a ORDER BY clause to their argument, for example FIRST_VALUE(x ORDER BY time).
This Epic captures plans related to improving support
Activity
alamb commentedon Jan 24, 2024
Filed #8984 for user defined order aware aggregates
alamb commentedon Aug 12, 2025
I think we are tracking remaining work in #8582 so closing down this epic