[
https://issues.apache.org/jira/browse/IMPALA-6988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fredy Wijaya updated IMPALA-6988:
---------------------------------
Summary: Implement ALTER TABLE/VIEW SET OWNER (was: Statement to allow
setting ownership for table/view)
> Implement ALTER TABLE/VIEW SET OWNER
> ------------------------------------
>
> Key: IMPALA-6988
> URL: https://issues.apache.org/jira/browse/IMPALA-6988
> Project: IMPALA
> Issue Type: Sub-task
> Components: Frontend
> Affects Versions: Impala 3.0, Impala 2.13.0
> Reporter: Adam Holley
> Assignee: Fredy Wijaya
> Priority: Major
> Labels: security
> Fix For: Impala 3.1.0
>
>
> Create statement to allow setting owner.
> {noformat}
> ALTER TABLE database_name.table_name SET OWNER [USER|ROLE] user_or_role;
> ALTER VIEW database_name.view_name SET OWNER [USER|ROLE]
> user_or_role;{noformat}
> Examples:
> {noformat}
> ALTER TABLE <table> SET OWNER USER <user>
> ALTER TABLE <table> SET OWNER ROLE <role>
> ALTER VIEW <view> SET OWNER USER <user>
> ALTER VIEW <view> SET OWNER ROLE <role>
> {noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]