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

fix: ORDER BY window definition should work on null literal #8444

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

viirya
Copy link
Member

@viirya viirya commented Dec 6, 2023

Which issue does this PR close?

Closes #.

Rationale for this change

A small follow up to #8419. In coerce_window_frame, if first literal is Null, it returns an error "Cannot run range queries ...".

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt) labels Dec 6, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @viirya

@alamb alamb merged commit 9be9073 into apache:main Dec 7, 2023
22 checks passed
@viirya
Copy link
Member Author

viirya commented Dec 7, 2023

Thank you @alamb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants