Change join_where
to not allow ambiguous naming but do allow interchangeable order
#18634
Labels
enhancement
New feature or an improvement of an existing feature
Description
The new functionallity in #18365 is really a cool addition - nice work!
When looking at the docstring I noticed that the order of the columns in the
*predicates
matter. I think this is a potential for errors when coming from either SQL or DuckDB. I would suggest the following instead:where as the following would work:
The following would also be allowed since the non-unique name is not in the join-predicates:
Since the columns are now guaranteed to be unique you make the order not matter such that the following test should be succesfull:
The text was updated successfully, but these errors were encountered: