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 null check when comparing structs in arg_min operation of reduction/groupby #10026

Merged
merged 4 commits into from
Jan 13, 2022

Conversation

ttnghia
Copy link
Contributor

@ttnghia ttnghia commented Jan 12, 2022

This is another fix for NVIDIA/spark-rapids#4434, when the null order is wrongly handled if the input structs column does not have nulls at the top level but only has null at the children levels.

@ttnghia ttnghia added bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. Spark Functionality that helps Spark RAPIDS 5 - DO NOT MERGE Hold off on merging; see PR for details non-breaking Non-breaking change labels Jan 12, 2022
@ttnghia ttnghia requested a review from a team as a code owner January 12, 2022 17:28
@ttnghia ttnghia self-assigned this Jan 12, 2022
@ttnghia ttnghia changed the title Fix null check when comparing rows of structs in arg_min operation of reduction/groupby Fix null check when comparing structs in arg_min operation of reduction/groupby Jan 12, 2022
@ttnghia
Copy link
Contributor Author

ttnghia commented Jan 12, 2022

@res-life Please test this PR if it can fix all your issues. If there is another corner case that fails, let report it here so I can address all together.

It is not good to have a separate PR to address one issue at a time. If you test it only when it has been merged, then report new issues and pause, you will end up to wait => fix => wait.... forever.

@codecov

This comment has been minimized.

@res-life
Copy link
Contributor

Test case passed with this code, please merge.

@ttnghia ttnghia removed the 5 - DO NOT MERGE Hold off on merging; see PR for details label Jan 13, 2022
Copy link
Contributor

@mythrocks mythrocks left a comment

Choose a reason for hiding this comment

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

Good catch!

@ttnghia
Copy link
Contributor Author

ttnghia commented Jan 13, 2022

Thanks the reviewers. Hope that we will not have another related bug 😄

@ttnghia
Copy link
Contributor Author

ttnghia commented Jan 13, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit dbe65f1 into rapidsai:branch-22.02 Jan 13, 2022
@ttnghia ttnghia deleted the fix_groupby_structs branch January 22, 2022 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Spark Functionality that helps Spark RAPIDS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants