Skip to content

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