Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Select alias expressions should be resolved when copying a query or when switching the select clause #725
When copying a query, we copy expressions as they are. If a select alias is referenced in the query, we can only resolve it properly when the select clause stays the same. IMO, we should either resolve aliases immediately or at the very least when we replace the select clause.
This is kind of related to #370
Steps to reproduce