[
https://issues.apache.org/jira/browse/HIVE-18762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16371968#comment-16371968
]
kalyan kumar kalvagadda edited comment on HIVE-18762 at 2/21/18 8:32 PM:
-------------------------------------------------------------------------
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}
was (Author: kkalyan):
Should be able to ru n below commands and change the ownership
{noformat}
alter table tb1 set owner user user1;
alter table tb1 set owner role role1;
{noformat}
> Extend the current ownership support for tables
> -----------------------------------------------
>
> 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
> 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
> I think, this is already available for hive databases.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)