[ https://issues.apache.org/jira/browse/HIVE-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949847#comment-13949847 ]
Thejas M Nair commented on HIVE-6547: ------------------------------------- The patch also remioves additional fields - principalname and principaltype in 'show role grant user user2" output, as that is redundant information. Also removes role createtime from this command output as that is not relevant to role grant information. > normalize struct Role in metastore thrift interface > --------------------------------------------------- > > Key: HIVE-6547 > URL: https://issues.apache.org/jira/browse/HIVE-6547 > Project: Hive > Issue Type: Bug > Components: Metastore, Thrift API > Affects Versions: 0.13.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.13.0 > > Attachments: HIVE-6547.1.patch, HIVE-6547.nothriftgen.1.patch, > HIVE-6547.thriftapi.2.patch, HIVE-6547.thriftapi.patch > > > As discussed in HIVE-5931, it will be cleaner to have the information about > Role to role member mapping removed from the Role object, as it is not part > of a logical Role. This information not relevant for actions such as creating > a Role. > As part of this change get_role_grants_for_principal api will be added, so > that it can be used in place of list_roles, when role mapping information is > desired. -- This message was sent by Atlassian JIRA (v6.2#6252)