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

Retain column names in query result #31

Closed
mechatroner opened this issue Apr 9, 2021 · 2 comments
Closed

Retain column names in query result #31

mechatroner opened this issue Apr 9, 2021 · 2 comments

Comments

@mechatroner
Copy link
Owner

Perhaps it is possible to utilize ast module in python and write a custom parsing function for JS to make RBQL understand how many columns are in the select queries and retain column names for those that haven't been changed. E.g. for this query SELECT a1, a2 + " foo", a5 we can retain column names from columns 1 and 5.

@mechatroner
Copy link
Owner Author

The prototype code is in development in the deeper_parse branch

@mechatroner
Copy link
Owner Author

Done

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

No branches or pull requests

1 participant