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

Factoring of columns in USING clause over SQL adapter #7923

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

aljazerzen
Copy link
Contributor

@aljazerzen aljazerzen commented Oct 25, 2024

This PR makes the last id identifier in this query:

SELECT
FROM x
JOIN y USING (id)
WHERE id = 4  -- this id is not ambiguous 

... not ambiguous, but instead equivalent to x.id.

@aljazerzen aljazerzen merged commit 876ac76 into master Oct 30, 2024
23 checks passed
@aljazerzen aljazerzen deleted the sql-join-ambigious branch October 30, 2024 11:53
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.

3 participants