Skip to content
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

[Backport] Range support in window expressions (support them as groups) #15703

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

kgyrtkirk
Copy link
Member

Backport of #15365 to 29.0.0.

…15365)

* support groups windowing mode; which is a close relative of ranges (but not in the standard)
* all windows with range expressions will be executed wit it groups
* it will be 100% correct in case for both bounds its true that: isCurrentRow() || isUnBounded()
  * this covers OVER ( ORDER BY COL )
* for other cases it will have some chances of getting correct results...

(cherry picked from commit 8a43db9)
@abhishekagarwal87 abhishekagarwal87 added this to the Druid 29.0.0 milestone Jan 17, 2024
@abhishekagarwal87 abhishekagarwal87 merged commit bb56851 into apache:29.0.0 Jan 17, 2024
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants