[ 
https://issues.apache.org/jira/browse/HIVE-7673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thejas M Nair updated HIVE-7673:
--------------------------------

    Summary: Authorization api: missing privilege object in create table/view  
(was: database missing from output WriteEntity for create-table-as-select)

> Authorization api: missing privilege object in create table/view
> ----------------------------------------------------------------
>
>                 Key: HIVE-7673
>                 URL: https://issues.apache.org/jira/browse/HIVE-7673
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization, SQLStandardAuthorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>
> In case of create-table-as-select query, the database the table belongs to is 
> not among the objects to be authorized.
> Create table has the objectName field of the table entry with the database 
> prefix - like testdb.testtable, instead of just the table name.
> checkPrivileges(CREATEVIEW) does not include the name of the view being 
> created in outputHObjs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to