You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vihang Karajgaonkar (JIRA)" <ji...@apache.org> on 2018/05/02 17:47:00 UTC

[jira] [Commented] (HIVE-18762) Support ALTER TABLE SET OWNER command

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

Vihang Karajgaonkar commented on HIVE-18762:
--------------------------------------------

I see that Hive {{PrincipalType}} has a value for {{group}} as well. Do you plan to use it as well?

> 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)