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 conditional joins with empty left table #9146

Merged
merged 6 commits into from
Sep 8, 2021

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Aug 30, 2021

Resolves #9044 by ensuring that when the left table is empty the functions short-circuit accordingly. Where necessary (i.e. for full joins) the complementary pairs of indices are returned.

@vyasr vyasr requested a review from a team as a code owner August 30, 2021 22:06
@vyasr vyasr self-assigned this Aug 30, 2021
@vyasr vyasr added the 3 - Ready for Review Ready for review by team label Aug 30, 2021
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Aug 30, 2021
@vyasr vyasr added this to the Conditional Joins milestone Aug 30, 2021
@vyasr vyasr added bug Something isn't working non-breaking Non-breaking change labels Aug 30, 2021
@vyasr
Copy link
Contributor Author

vyasr commented Aug 30, 2021

@jlowe this should unblock nightly tests.

@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.10@1d4a2fb). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 77a0d96 differs from pull request most recent head d47dd81. Consider uploading reports for the commit d47dd81 to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.10    #9146   +/-   ##
===============================================
  Coverage                ?   10.77%           
===============================================
  Files                   ?      115           
  Lines                   ?    18722           
  Branches                ?        0           
===============================================
  Hits                    ?     2018           
  Misses                  ?    16704           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d4a2fb...d47dd81. Read the comment docs.

cpp/src/join/conditional_join.cu Show resolved Hide resolved
cpp/src/join/conditional_join.cu Outdated Show resolved Hide resolved
cpp/src/join/conditional_join.cu Outdated Show resolved Hide resolved
@vyasr vyasr requested a review from ttnghia September 3, 2021 05:07
@vyasr vyasr requested a review from ttnghia September 7, 2021 16:04
@vyasr
Copy link
Contributor Author

vyasr commented Sep 7, 2021

rerun tests

1 similar comment
@vyasr
Copy link
Contributor Author

vyasr commented Sep 8, 2021

rerun tests

@vyasr
Copy link
Contributor Author

vyasr commented Sep 8, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 665c07e into rapidsai:branch-21.10 Sep 8, 2021
@vyasr vyasr deleted the fix/issue_9044 branch January 14, 2022 18:05
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Conditional join with empty left table throws exception
2 participants