-
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-6179][SQL] Add token for "SHOW PRINCIPALS role_name" and "SHOW TRANSACTIONS" and "SHOW COMPACTIONS" #4902
Conversation
merge lastest spark
merge lastest spark
We initially implemented the By the way, can you also add a unit test for this? In case we misspell the keyword. |
OK. I will add a unit test. @chenghao-intel |
ok to test |
Test build #28312 has finished for PR 4902 at commit
|
I add other two tokens. Could you test it again? @marmbrus |
Test build #28383 has finished for PR 4902 at commit
|
merge lastest spark
merge lastest spark
/cc @marmbrus |
merge lastest spark
merge lastest spark
merge lastest spark
Test build #29198 has finished for PR 4902 at commit
|
Test build #29200 has finished for PR 4902 at commit
|
Test build #29201 has finished for PR 4902 at commit
|
Test build #29774 has finished for PR 4902 at commit
|
Thanks, merged to master. |
[SHOW PRINCIPALS role_name]
Lists all roles and users who belong to this role.
Only the admin role has privilege for this.
[SHOW COMPACTIONS]
It returns a list of all tables and partitions currently being compacted or scheduled for compaction when Hive transactions are being used.
[SHOW TRANSACTIONS]
It is for use by administrators when Hive transactions are being used. It returns a list of all currently open and aborted transactions in the system.