Skip to content

clarify logic in nth_value window function - #14104

Merged
alamb merged 1 commit into
apache:mainfrom
zjregee:clarify-nth-value-func
Jan 14, 2025
Merged

clarify logic in nth_value window function#14104
alamb merged 1 commit into
apache:mainfrom
zjregee:clarify-nth-value-func

Conversation

@zjregee

@zjregee zjregee commented Jan 13, 2025

Copy link
Copy Markdown
Member

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.

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

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)

@Blizzara Blizzara left a comment

Copy link
Copy Markdown
Contributor

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!

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

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
@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