-
Notifications
You must be signed in to change notification settings - Fork 109
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
AggJoiner raises exceptions when trying to join multiple tables at once #933
Comments
Is this a case where the MultiAggJoiner is the right object? cc @TheooJ If so, we should clarify the docstring of AggJoiner, and raise a clean error when it is given multiple tables, pointing to the MultiAggJoiner |
I get this error:
|
I was working from the version available on pip, so that's why the error message was not clear. Switching to the |
Yes, the Btw @rcap107 we should have a chat if you have a wishlist for the |
great, I think we can close this then as it is fixed on the |
Describe the bug
I am unable to use the AggJoiner to execute a join over multiple tables at the same time with different keys.
Given one main table and two aux tables (see example), error checking on the main_key variable prevents me from providing the proper keys.
If I use a list of strings:
Then this is interpreted as joining over multiple keys on one table.
If I use a list of list of strings,
then the function
check_missing_columns
in_agg_joiner.py
raises an exception because lists are unhashable.Steps/Code to Reproduce
Setup
First exception
Second exception
Expected Results
Main table should be joined with aux_table_1 and aux_table_2.
Actual Results
Traceback for exception 1:
Traceback for exception 2:
Versions
The text was updated successfully, but these errors were encountered: