[ https://issues.apache.org/jira/browse/HIVE-18762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461475#comment-16461475 ]
Sergio Peña commented on HIVE-18762: ------------------------------------ It will support the same values than ALTER DATABASE SET OWNER which I noticed on the HiveParser.g that also supports user, group or role; but the documentation on the wiki mentions only user or role. I will make sure to update the wiki of both commands. > Support ALTER TABLE SET OWNER command > ------------------------------------- > > Key: HIVE-18762 > URL: https://issues.apache.org/jira/browse/HIVE-18762 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 3.0.0 > Reporter: kalyan kumar kalvagadda > Assignee: Sergio Peña > Priority: Major > > Currently only a user can be a owner of hive table. It should be extended so > that either user/role can be set a owner of a table. > With this support ownership of a table can be transferred to either user or > role. > Should be able to run below commands and change the ownership > {noformat} > alter table tb1 set owner user user1; > alter table tb1 set owner role role1;{noformat} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)