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 NaN handling in map_subset #9893

Closed

Conversation

bikramSingh91
Copy link
Contributor

@bikramSingh91 bikramSingh91 commented May 22, 2024

Summary:
Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Depends on #9893 #9963

Differential Revision: D57681657

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels May 22, 2024
Copy link

netlify bot commented May 22, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 2d27791
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/665a696a3eeda70008ec9629

bikramSingh91 pushed a commit to bikramSingh91/velox that referenced this pull request May 22, 2024
Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

bikramSingh91 pushed a commit to bikramSingh91/velox that referenced this pull request May 22, 2024
Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

bikramSingh91 pushed a commit to bikramSingh91/velox that referenced this pull request May 22, 2024
Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

bikramSingh91 pushed a commit to bikramSingh91/velox that referenced this pull request May 22, 2024
Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

bikramSingh91 pushed a commit to bikramSingh91/velox that referenced this pull request May 22, 2024
Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

bikramSingh91 pushed a commit to bikramSingh91/velox that referenced this pull request Jun 1, 2024
Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Summary of changes:
- For primitive type keys: Use a map that employs the correct hashing and
equality operators for floating types.
- For complex type keys: It uses GenericView as a key that uses BaseVector's
hashing and equality operators. Those recursively call SimpleVector's
respective functions that were addressed in facebookincubator#9963

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

Summary:

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Summary of changes:
- For primitive type keys: Use a map that employs the correct hashing and
equality operators for floating types.
- For complex type keys: It uses GenericView as a key that uses BaseVector's
hashing and equality operators. Those recursively call SimpleVector's
respective functions that were addressed in facebookincubator#9963

Differential Revision: D57681657
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57681657

Copy link
Contributor

@spershin spershin left a comment

Choose a reason for hiding this comment

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

Thanks!

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a10bd49.

Copy link

Conbench analyzed the 1 benchmark run on commit a10bd498.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
Summary:
Pull Request resolved: facebookincubator#9893

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Summary of changes:
- For primitive type keys: Use a map that employs the correct hashing and
equality operators for floating types.
- For complex type keys: It uses GenericView as a key that uses BaseVector's
hashing and equality operators. Those recursively call SimpleVector's
respective functions that were addressed in facebookincubator#9963

Reviewed By: spershin

Differential Revision: D57681657

fbshipit-source-id: 0ce281f303dd0633e698e4b386627c3831567d92
Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
Summary:
Pull Request resolved: facebookincubator#9893

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Summary of changes:
- For primitive type keys: Use a map that employs the correct hashing and
equality operators for floating types.
- For complex type keys: It uses GenericView as a key that uses BaseVector's
hashing and equality operators. Those recursively call SimpleVector's
respective functions that were addressed in facebookincubator#9963

Reviewed By: spershin

Differential Revision: D57681657

fbshipit-source-id: 0ce281f303dd0633e698e4b386627c3831567d92
deepashreeraghu pushed a commit to deepashreeraghu/velox that referenced this pull request Jun 13, 2024
Summary:
Pull Request resolved: facebookincubator#9893

Ensure NaNs values of any binary representations are treated as equal and
can be identified as keys in a map.

Summary of changes:
- For primitive type keys: Use a map that employs the correct hashing and
equality operators for floating types.
- For complex type keys: It uses GenericView as a key that uses BaseVector's
hashing and equality operators. Those recursively call SimpleVector's
respective functions that were addressed in facebookincubator#9963

Reviewed By: spershin

Differential Revision: D57681657

fbshipit-source-id: 0ce281f303dd0633e698e4b386627c3831567d92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants