-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-12145][SQL] Hive Authorization V2 interface requires the username information from SessionState #10144
Conversation
5471a4a
to
42f2ad7
Compare
Hi @vanzin
|
This is not really my area, but I'm sure SQL guys will pick this up. ok to test |
42f2ad7
to
d3498f9
Compare
Test build #47410 has finished for PR 10144 at commit
|
@winningsix are you still working on this? |
Hi @hvanhovell , I am still working on this. It would be great if you or some one can review this PR. Thank you! |
d3498f9
to
7351f83
Compare
Test build #49656 has finished for PR 10144 at commit
|
Test build #49744 has finished for PR 10144 at commit
|
f031c12
to
6436aa8
Compare
Test build #49755 has finished for PR 10144 at commit
|
Test build #49754 has finished for PR 10144 at commit
|
…Parser commands to new Parser 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 ...``` and ```set 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 ```AbstractSQLParser``` in Catalyst. The PR is marked WIP as long as it doesn't pass all tests. cc rxin viirya winningsix (this touches #10144) Author: Herman van Hovell <[email protected]> Closes #10905 from hvanhovell/SPARK-12866.
…n SQL based authorization
6436aa8
to
739f111
Compare
Hi @hvanhovell @rxin , could you help me review this changes? I have updated the original pull request since changes in #10905. |
Test build #50727 has finished for PR 10144 at commit
|
Test build #50726 has finished for PR 10144 at commit
|
Thanks for the pull request. I'm going through a list of pull requests to cut them down since the sheer number is breaking some of the tooling we have. Due to lack of activity on this pull request, I'm going to push a commit to close it. Feel free to reopen it or create a new one. We can also continue the discussion on the JIRA ticket. |
We need to pass username information to SessionState in order to initial the Hive authorization V2.