-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-12865][SPARK-12866][SQL] Migrate SparkSQLParser/ExtendedHiveQlParser commands to new Parser #10905
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
# Conflicts: # sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSQLParser.scala
|
"The PR is marked WIP as long as it doesn't pass all tests." This is obvious so if you are only looking to run through the tests, we can just remove the WIP now. Then we don't need an extra roundtrip before merging. |
|
Test build #50039 has finished for PR 10905 at commit
|
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.
if you are updating the pr, can you add explicit types for all the public vals?
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.
Removed TAB's...
|
Test build #50194 has finished for PR 10905 at commit
|
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.
would be great to briefly mention what this is used for (set?)
|
I'm going to merge this. Please address the minor feedback in a follow-up pr. |
This PR moves all the functionality provided by the SparkSQLParser/ExtendedHiveQlParser to the new Parser hierarchy (SparkQl/HiveQl). This also improves the current SET command parsing: the current implementation swallows
set role ...andset autocommit ...commands, this PR respects these commands (and passes them on to Hive).This PR and #10723 end the use of Parser-Combinator parsers for SQL parsing. As a result we can also remove the
AbstractSQLParserin Catalyst.The PR is marked WIP as long as it doesn't pass all tests.
cc @rxin @viirya @winningsix (this touches #10144)