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: sql right join switching lhs and rhs #279

Merged
merged 1 commit into from
Aug 29, 2020
Merged

Conversation

machow
Copy link
Owner

@machow machow commented Aug 29, 2020

Noticed while implementing https://github.com/machow/funneljoin-py. The gist is that sqlalchemy doesn't have a right join option. To do a right join, you switch the things being joined. Siuba did this, but did not switch them back, which caused issues with (1) using the wrong suffixes, (2) behaviors that keep the correct grouping column, e.g. the right key column in this case.

@machow machow merged commit 45ea882 into master Aug 29, 2020
@machow machow deleted the fix-sql-right-join branch August 29, 2020 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant