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
Expects PARTITION BY expression to be ordered in DataFusion 51 release #18527
I looked at that briefly at that test and it isn't clear where "Expects PARTITION BY expression to be ordered" is coming from. While the window function does have a partition by expression, I don't see why the partition by would be ordered.
This turns out to be an issue within Sail when certain distributed query plans are constructed incorrectly, causing validation to fail for BoundedWindowAggExec. So nothing goes wrong in DataFusion.
The issue was only noticed after DataFusion 51, possibly due to how validation/optimization logic changed recently for physical planning in DataFusion.
Activity
alamb commentedon Nov 7, 2025
I looked at that briefly at that test and it isn't clear where "Expects PARTITION BY expression to be ordered" is coming from. While the window function does have a partition by expression, I don't see why the partition by would be ordered.
So in other words, I am not sure what the bug is
linhr commentedon Jan 30, 2026
This turns out to be an issue within Sail when certain distributed query plans are constructed incorrectly, causing validation to fail for
BoundedWindowAggExec. So nothing goes wrong in DataFusion.The issue was only noticed after DataFusion 51, possibly due to how validation/optimization logic changed recently for physical planning in DataFusion.
@alamb Feel free to close this issue!
alamb commentedon Feb 3, 2026
Thanks @linhr