[ 
https://issues.apache.org/jira/browse/HIVE-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021993#comment-14021993
 ] 

Lefty Leverenz commented on HIVE-6122:
--------------------------------------

The wiki has documented this syntax since 2011:

{code}
SHOW GRANT principal_specification
[ON object_type priv_level [(column_list)]]
{code}

How is that different from this implementation?  Was it documented prematurely, 
or am I missing something?  Is (column_list) part of the new implementation? 

* [current wiki (June 2014):  Authorization -- Viewing Granted Privileges | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Authorization#LanguageManualAuthorization-ViewingGrantedPrivileges]
* [original wiki (June 2011):  Authorization -- Viewing Granted Privileges | 
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=27820186#LanguageManualAuth-ViewingGrantedPrivileges]

> Implement show grant on <resource>
> ----------------------------------
>
>                 Key: HIVE-6122
>                 URL: https://issues.apache.org/jira/browse/HIVE-6122
>             Project: Hive
>          Issue Type: Improvement
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6122.1.patch.txt, HIVE-6122.2.patch.txt, 
> HIVE-6122.3.patch.txt, HIVE-6122.4.patch, HIVE-6122.4.patch, 
> HIVE-6122.5.patch, HIVE-6122.6.patch
>
>
> Currently, hive shows privileges owned by a principal. Reverse API is also 
> needed, which shows all principals for a resource. 
> {noformat}
> show grant user hive_test_user on database default;
> show grant user hive_test_user on table dummy;
> show grant user hive_test_user on all;
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to