-
Notifications
You must be signed in to change notification settings - Fork 605
Support parsing create external table. #46
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
Conversation
Pull Request Test Coverage Report for Build 142
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@nickolay Any opinion on this PR? |
Thanks! LGTM as well, though I'd remove the second ( I don't think creating a separate SQLStatement variant for Syntax: |
@nickolay I think it's more intuitive if we have inheritance here. |
Rust is “composition over inheritance”, so what you’re thinking about is not an option. The only alternative way to add EXTERNAL table parsing without way more work is to add |
Thanks @nickolay for the review. For dialect, I am keen on using Hive syntax. I would like to see official support for HiveQL in this crate eventually. |
@zhzy0077 I agree that it makes sense to combine |
@andygrove I have updated this pr according to your and Nickolay's advice. Thanks for the comprehensive explanation! @nickolay |
Add the possibility to parse the following SQL: