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

rust frontend: bind & plan project #430

Closed
Tracked by #338
xiangjinwu opened this issue Feb 21, 2022 · 1 comment · Fixed by #615
Closed
Tracked by #338

rust frontend: bind & plan project #430

xiangjinwu opened this issue Feb 21, 2022 · 1 comment · Fixed by #615
Assignees

Comments

@xiangjinwu
Copy link
Contributor

xiangjinwu commented Feb 21, 2022

explain select v2 from t

Note there exist 2 alternatives:

  • Plan a scan with all columns + a project picking the referenced columns, then rely on optimizer to simplify the scan. This is how the java frontend is working now.
  • Track all referenced columns in binding phase, and plan a scan with only those columns directly.
@xiangjinwu xiangjinwu changed the title rust frontend: bind & plan projection rust frontend: bind & plan project Feb 21, 2022
@neverchanje
Copy link
Contributor

neverchanje commented Mar 2, 2022

To fully accomplish the support of proj, there are still some todos remained:

  • Support wildcard (star *)
  • Support AS alias on select item.

@neverchanje neverchanje linked a pull request Mar 3, 2022 that will close this issue
2 tasks
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 a pull request may close this issue.

3 participants