Skip to content

feat(planner): Support name resolution for alias - #6979

Merged
mergify[bot] merged 2 commits into
databendlabs:mainfrom
leiysky:name-resolution-with-alias
Aug 4, 2022
Merged

feat(planner): Support name resolution for alias#6979
mergify[bot] merged 2 commits into
databendlabs:mainfrom
leiysky:name-resolution-with-alias

Conversation

@leiysky

@leiysky leiysky commented Aug 4, 2022

Copy link
Copy Markdown
Contributor

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Support using alias specified in SELECT clause in expressions.

Before this pr, we don't support queries as select a as b from t(a) having b = 1. After this PR, it's possible to use alias introduced in SELECT clause in HAVING clause. ORDER BY will be supported later.

@vercel

vercel Bot commented Aug 4, 2022

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Aug 4, 2022 at 7:17AM (UTC)

@mergify mergify Bot added the pr-feature this PR introduces a new feature to the codebase label Aug 4, 2022
@mergify
mergify Bot merged commit d39a32d into databendlabs:main Aug 4, 2022
@leiysky
leiysky deleted the name-resolution-with-alias branch August 4, 2022 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants