-
Notifications
You must be signed in to change notification settings - Fork 608
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
test: add more weird join predicate tests #7424
Conversation
I think we can probably address point 2, but if we can hold off until 8.0 that would be ideal as there are some other refactors of joins happening right now. Is that okay? |
@NickCrews Would you mind changing the commit message to be a bit more specific than |
I will change the commit message and add to the docs. Sounds good on the 8.0 target! |
As I was exploring ibis-project#6506, I discovered that there are join predicate types that currently work, but aren't tested for. This commits adds tests for those predicate types.
a11b23d
to
aa949fb
Compare
@NickCrews I updated the commit message! Please open the docs changes in a separate PR. Looking forward to them! |
Thanks! Im mostly out of office the next few weeks so I will be slow to respond. Looks great. |
followup to ibis-project#7424
followup to ibis-project#7424
followup to ibis-project#7424
followup to ibis-project#7424
fixes #6506
As I was exploring #6506,
I deiscovered that there were all these join predicate
types that currenty work,
but only sort of "accidentally", and they
aren't actually tested for. This adds
tests for those.
Still TODO is to
[(_.col_in_left.upper(), _.col_in_right.upper())]
instead of merely(_.col_in_left.upper(), _.col_in_right.upper())
, because the iterable of conditions gets promoted to a list, so ibis thinks the user really means two join keys:[_.col_in_left.upper(), _.col_in_right.upper()]
. I would love to remove the need for this outer list. Could we add a special case where if keys is a tuple of length 2, then assume this is a single join key, and don'tutil.promote_list()
it?