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 test_hash_agg_with_nan_keys floating point sum failure #10148

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

jbrennan333
Copy link
Collaborator

Fixes #10026.

This fixes the failures for test_hash_agg_with_nan_keys by changing the test to sum a column of Integers instead of Floats. The summing of floating point values is not the aim of this unit test. See this comment.

This also changes test_count_distinct_with_nan_floats to use _grpkey_floats_with_nulls_and_nans instead of _grpkey_doubles_with_nan_zero_grouping_keys, because the latter was changed so that the b column is Integers instead of Floats, and this test needs a column of Floats (with nans).

My proposal is to use this pr to fix #10026, and continue investigating the floating point sum differences in #9822.

@jbrennan333 jbrennan333 added bug Something isn't working test Only impacts tests labels Jan 3, 2024
@jbrennan333 jbrennan333 self-assigned this Jan 3, 2024
@jbrennan333
Copy link
Collaborator Author

build

revans2
revans2 previously approved these changes Jan 3, 2024
@jbrennan333
Copy link
Collaborator Author

Updated copyrights...

@jbrennan333
Copy link
Collaborator Author

build

@jbrennan333 jbrennan333 merged commit 4e0c16e into NVIDIA:branch-24.02 Jan 4, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] test_hash_agg_with_nan_keys failed with a DATAGEN_SEED=1702335559
3 participants