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

Thejas M Nair commented on HIVE-5931:
-------------------------------------

The reason why 'describe function <funcname>' works is that for some historic 
reason the keyword function was not marked as a non reserved keyword in 
IdentifiersParser.g. This is not the case with ROLE keyword.

> SQL std auth - add metastore get_role_participants api - to support DESCRIBE 
> ROLE
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-5931
>                 URL: https://issues.apache.org/jira/browse/HIVE-5931
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Authorization
>            Reporter: Thejas M Nair
>         Attachments: HIVE-5931.thriftapi.2.patch, 
> HIVE-5931.thriftapi.3.patch, HIVE-5931.thriftapi.followup.patch, 
> HIVE-5931.thriftapi.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This is necessary for DESCRIBE ROLE role statement. This will list
> all users and roles that participate in a role. 



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

Reply via email to