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

sql/analyzer: only check aliases to qualify in the topmost project #690

Merged
merged 1 commit into from
Apr 23, 2019

Commits on Apr 23, 2019

  1. sql/analyzer: only check aliases to qualify in the topmost project

    Because aliases on the topmost project or groupby were checked using
    plan.InspectExpressions, it did so recursively. That was not the
    intended behaviour, since it could find other aliases in a subquery
    or other nodes down the tree.
    Instead, now only the expressions of the project or groupby are
    checked.
    
    Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
    erizocosmico committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    21c3ce6 View commit details
    Browse the repository at this point in the history