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: Normalize NaN and zeros for floating number comparison #953

Merged
merged 5 commits into from
Sep 22, 2024

Conversation

viirya
Copy link
Member

@viirya viirya commented Sep 19, 2024

Which issue does this PR close?

Closes #663.

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@kazuyukitanimura
Copy link
Contributor

Related #585

Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

LGTM! I ran TPC-H and saw no regression. Thanks @viirya

@andygrove
Copy link
Member

@viirya Should there be any update to the documentation, such as the compatibility guide as part of this PR?

@viirya
Copy link
Member Author

viirya commented Sep 22, 2024

@viirya Should there be any update to the documentation, such as the compatibility guide as part of this PR?

Good suggestion. Let me add one.

@viirya viirya merged commit 7a6f47f into apache:main Sep 22, 2024
74 checks passed
@viirya
Copy link
Member Author

viirya commented Sep 22, 2024

Thanks @andygrove

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.

Comparison between negative zero and false produces incorrect result
3 participants