Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

sql/analyzer: correctly qualify aliases with the same name as col #680

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

erizocosmico
Copy link
Contributor

Fixes #675

When there was an alias with the same name as a column in a table,
the column was qualified with the table instead of referencing the
alias.

Fixes src-d#675

When there was an alias with the same name as a column in a table,
the column was qualified with the table instead of referencing the
alias.

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico erizocosmico requested a review from a team April 17, 2019 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ORDER BY with aggregations fails with a missleading error
4 participants