You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/08/16 05:07:18 UTC

[jira] [Updated] (HIVE-7673) Authorization api: missing privilege object in create table/view

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