-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support window functions with window frame #361
Comments
For anyone following this, a window frame query looks like this (the SELECT water_level, avg(water_level) OVER (ORDER BY time desc ROWS BETWEEN 2 PRECEDING AND 0 FOLLOWING)
FROM
"h2o_feet"
WHERE
time >= cast ('2019-09-17T20:00:00Z' as timestamp) AND
time <= cast ('2019-09-17T21:42:00Z' as timestamp); Which results in an error
|
It appears there is some work afoot to support this in https://github.com/synnada-ai/arrow-datafusion/pull/1 |
Yes, we plan to submit a PR draft early next week that makes progress on this issue. We hope to resolve it fully once we get community feedback. |
i am going to fix this |
I have run some query success in out internal version ballista 😄 and fix some issues. |
@ozankabak Thanks again for supporting window frame.👍 |
I am going to claim this ticket is done. Thank you to the Synnada team and @ozankabak and @mustafasrepo for helping make it happen 👏 |
You are welcome, looking forward to helping in the future too! |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)
Implement frame spec in window clause
Describe the solution you'd like
A clear and concise description of what you want to happen.
We'd like to support window function in three or more steps:
OVER
clause #298 empty over clauseDescribe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: