-
Notifications
You must be signed in to change notification settings - Fork 147
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
[FEAT] Add left, right, and outer joins #2166
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2166 +/- ##
=======================================
Coverage ? 85.71%
=======================================
Files ? 71
Lines ? 7656
Branches ? 0
=======================================
Hits ? 6562
Misses ? 1094
Partials ? 0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, but I'd suggest that @samster25 give it a once-over as the original hash join implementer!
Benchmarks before:
Benchmarks after:
|
👀 |
fn add_non_join_key_columns( | ||
left: &Table, | ||
right: &Table, | ||
lidx: Series, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not take these as &Series
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I move lidx
so that I can drop it early to save memory. ridx
doesn't have to be but since it won't be used after, I figured I would just move it as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Currently does not support using sort-merge joins, but broadcast and hash joins will work fine