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] Strict window frame checks #15827

Merged

Conversation

kgyrtkirk
Copy link
Member

Backport of #15746 to 29.0.0.

introduce checks to ensure that window frame is supported
added check to ensure that no expressions are set as bounds
added logic to detect following/following like cases - described in Window function fails to demarcate if 2 following are used apache#15739
currently RANGE frames are only supported correctly if both endpoints are unbounded or current row Offset based window range support apache#15767
added windowingStrictValidation context key to provide a way to override the check

(cherry picked from commit 8f5b752)
@abhishekagarwal87 abhishekagarwal87 merged commit 115bee3 into apache:29.0.0 Feb 5, 2024
78 of 79 checks passed
@abhishekagarwal87 abhishekagarwal87 added this to the 29.0.0 milestone Feb 5, 2024
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