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

Ensure we pass the has_nulls tparam to mixed_join kernels #16708

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

abellina
Copy link
Contributor

Fixes #16706

I'll build/test our stack with this change, but it looks like a typo.

If there's a quick unit test we can add I'd be happy to hear recommendations or for someone else to follow on with such a test.

@abellina abellina requested a review from a team as a code owner August 30, 2024 16:02
Copy link

copy-pr-bot bot commented Aug 30, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Aug 30, 2024
@abellina abellina added bug Something isn't working non-breaking Non-breaking change libcudf Affects libcudf (C++/CUDA) code. and removed libcudf Affects libcudf (C++/CUDA) code. labels Aug 30, 2024
@abellina
Copy link
Contributor Author

/ok to test

@davidwendt
Copy link
Contributor

Do we not have a simple gtest for this?

@abellina
Copy link
Contributor Author

I was able to build our plugin with a cuDF that has this change and it fixes our issue.

@abellina
Copy link
Contributor Author

Do we not have a simple gtest for this?

There is code in mixed_join_tests that should test the null path: https://github.com/rapidsai/cudf/blob/branch-24.10/cpp/tests/join/mixed_join_tests.cu#L711, and the not null path: https://github.com/rapidsai/cudf/blob/branch-24.10/cpp/tests/join/mixed_join_tests.cu#L680. I think..., I am not familiar with this code, so I could be missing it.

That said, these tests are not failing with or without my change. We have been able to repro it from spark, and its apparent from the linked PR that this was missed. That said I do think we should add a test or figure out why it isn't working.

I tried setting --rmm_mode=cuda because a pool could have hidden this, but it doesn't repro in the JOIN_TEST suite.

@ttnghia
Copy link
Contributor

ttnghia commented Sep 1, 2024

I think it is hard to reproduce a test that "fails" because this is a memory access UB issue rather than a validity issue.

@abellina
Copy link
Contributor Author

abellina commented Sep 3, 2024

/ok to test

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.

Piling on to the 👍s here. Good catch, @abellina.

@abellina
Copy link
Contributor Author

abellina commented Sep 3, 2024

/merge

@rapids-bot rapids-bot bot merged commit 557aabf into rapidsai:branch-24.10 Sep 3, 2024
92 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 libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] illegal access error in mixed_join after ODR cleanup PR
6 participants