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
The issue states that the PR should "Note in the user guide that DataFusion supports window functions". Any ideas where exactly to mention this? I had a look and I didn't find a place that felt suitable.
Also, I was on the fence about whether to describe the over-clause with each function as it seems repetative. The alternative would be to described the syntax for window functions on top of the page once in a general form (ie. something like function(expr) over([partition by expr2] [order by expr3 [ asc | desc ][, …]])). Any thoughts?
The issue states that the PR should "Note in the user guide that DataFusion supports window functions". Any ideas where exactly to mention this? I had a look and I didn't find a place that felt suitable.
Perhaps we can add a new Window Functions page, following the model of Aggregate Functions? (UPDATE: I see this is exactly what you did in #6402 🤦 sorry for not checking that first)
Also, I was on the fence about whether to describe the over-clause with each function as it seems repetative. The alternative would be to described the syntax for window functions on top of the page once in a general form (ie. something like function(expr) over([partition by expr2] [order by expr3 [ asc | desc ][, …]])). Any thoughts?
I think describing the OVER clause once in general rather than for each function makes much more sense.
Activity
toppyy commentedon May 20, 2023
started work on this!
toppyy commentedon May 21, 2023
Made a draft PR.
The issue states that the PR should "Note in the user guide that DataFusion supports window functions". Any ideas where exactly to mention this? I had a look and I didn't find a place that felt suitable.
Also, I was on the fence about whether to describe the over-clause with each function as it seems repetative. The alternative would be to described the syntax for window functions on top of the page once in a general form (ie. something like
function(expr) over([partition by expr2] [order by expr3 [ asc | desc ][, …]])). Any thoughts?alamb commentedon May 22, 2023
Thanks @toppyy !
Perhaps we can add a new
Window Functionspage, following the model ofAggregate Functions? (UPDATE: I see this is exactly what you did in #6402 🤦 sorry for not checking that first)I think describing the OVER clause once in general rather than for each function makes much more sense.
Perhaps we can take inspiration (and/or some of the text) from the postgres description: https://www.postgresql.org/docs/current/tutorial-window.html