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

clarify logic in nth_value window function #14104

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

zjregee
Copy link
Member

@zjregee zjregee commented Jan 13, 2025

Which issue does this PR close?

Closes #14063.

Rationale for this change

What changes are included in this PR?

This PR simplifies some of the logic of the nth_value window function, making the code path clearer and more understandable.

Are these changes tested?

Yes.

Are there any user-facing changes?

None.

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.

Thanks @zjregee

@Blizzara do you have a chance to review this PR (as it is related to a suggestion you made) in #14042 (comment)

Copy link
Contributor

@Blizzara Blizzara left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

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 @zjregee and @Blizzara

@alamb alamb merged commit 888df6a into apache:main Jan 14, 2025
25 checks passed
@zjregee zjregee deleted the clarify-nth-value-func branch January 14, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarify logic in nth_value function
3 participants