You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sai Hemanth Gantasala (Jira)" <ji...@apache.org> on 2022/02/25 18:35:00 UTC

[jira] [Created] (HIVE-25988) CreateTableEvent should have database object as one of the hive privilege object.

Sai Hemanth Gantasala created HIVE-25988:
--------------------------------------------

             Summary: CreateTableEvent should have database object as one of the hive privilege object.
                 Key: HIVE-25988
                 URL: https://issues.apache.org/jira/browse/HIVE-25988
             Project: Hive
          Issue Type: Bug
          Components: Hive, Standalone Metastore
            Reporter: Sai Hemanth Gantasala
            Assignee: Sai Hemanth Gantasala


The CreateTableEvent in HMS should have a database object as one of the HivePrivilege Objects so that it is consistent with HS2's CreateTable Event.
Also, we need to move the DFS_URI object into the InputList so that this is also consistent with HS2's behavior.

Having database objects in the create table events hive privilege objects helps to determine if a user has the right permissions to create a table in a particular database via ranger/sentry.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)