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
Getting SELECT projection aliases #83
Comments
Great! I think MySQL just make a string of the expression |
Good point, in the case of |
The suggested function The type I also discovered that all information is not present in the Ast I'm at the moment working on adding projections names to the ```Payload::Select(projnames...,rows...)`` The content is produced in Works nice sofar
|
@willy610 I don't get the point you mentioned, "all information is not present in the Ast". |
Everything with wildards need to be resolved at execution I think
Like
and
|
Here we go with some code from executor/select.rs
|
Oh, I totally ignored I'll remove "good first issue" label, it looks certainly more than simple task. If you are interested on taking this issue, you need to be aware of a few things.
|
I can take this issue. |
Made an horrible - I think - recursive solution in ...assuming But what do you mean with
Is it a folder (like executor) ? Is it ok to use In for example in a revisted I really like the approach on |
That's a good point. At first, you can wrap And you're right, you can assume no |
Thanks a lot! |
Related to #80 - due to long threads, it's hard to recognize what exact task is, so let's use this issue.
input:
output:
This issue is adding a new function
get_projection_aliases
tosrc/parse.rs
which takessqlparser::ast::Query
reference and return column aliases,Vec<String>
The text was updated successfully, but these errors were encountered: