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

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

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

Sai Hemanth Gantasala resolved HIVE-25988.
------------------------------------------
    Resolution: Fixed

Fix committed to master. Closing the jira.

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)