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
Support hive CREATE FUNCTION
syntax
#496
Conversation
Pull Request Test Coverage Report for Build 2390143654
💛 - 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 -- thank you @mobuchowski
What do you think about conditionalizing this on being part of the hive Dialect?
This PR appears to have a merge conflict now. Also, @mobuchowski are you planning to implement #496 (comment) in this PR, or shall we file a ticket for a follow on task? |
Sorry, had a busy week. I'll fix the conflict and implement the conditional tomorrow. |
I totally understand! |
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
0f64758
to
3613238
Compare
Hey @alamb, fixed the PR and added checking for HiveDialect. |
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.
Looks great -- thank you @mobuchowski
}; | ||
|
||
assert_eq!( | ||
generic.parse_sql_statements(sql).unwrap_err(), |
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.
👍
CREATE FUNCTION
syntax
Add
CreateFunction
syntax based on Hive: https://cwiki.apache.org/confluence/display/hive/languagemanual+ddl#LanguageManualDDL-Create/Drop/ReloadFunctionSigned-off-by: Maciej Obuchowski obuchowski.maciej@gmail.com