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

[MINOR]: Remove some .unwraps from nth_value.rs file #9674

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

mustafasrepo
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

While reviewing PR9625. I recognized that we can remove some .unwraps from the file by changing the implementation (Please note that, as far as I can tell, those unwraps are safe though).

What changes are included in this PR?

This Pr, removes .unwraps in the nth_value.rs file.

Are these changes tested?

Existing tests.

Are there any user-facing changes?

@github-actions github-actions bot added the physical-expr Physical Expressions label Mar 18, 2024
@mustafasrepo
Copy link
Contributor Author

mustafasrepo commented Mar 18, 2024

@huaxingao If you have time, I would appreciate your review to make sure this refactor preserves original behaviour

Copy link
Contributor

@huaxingao huaxingao left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for making the code better!

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.

Looks good to me too -- thank you @mustafasrepo and @huaxingao

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @mustafasrepo

@alamb alamb merged commit 35ff7a6 into apache:main Mar 18, 2024
23 checks passed
@mustafasrepo mustafasrepo deleted the minor/remove_unwrap branch March 27, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants