You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Srinivasu Majeti (Jira)" <ji...@apache.org> on 2023/04/26 05:29:00 UTC

[jira] [Commented] (HIVE-27195) Drop table if Exists . fails during authorization for temporary tables

    [ https://issues.apache.org/jira/browse/HIVE-27195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716536#comment-17716536 ] 

Srinivasu Majeti commented on HIVE-27195:
-----------------------------------------

Hi [~rtrivedi12] , Is this planned to be fixed in near future ?

> Drop table if Exists <database>.<tablename> fails during authorization for temporary tables
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-27195
>                 URL: https://issues.apache.org/jira/browse/HIVE-27195
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Riju Trivedi
>            Assignee: Srinivasu Majeti
>            Priority: Major
>
> https://issues.apache.org/jira/browse/HIVE-20051 handles skipping authorization for temporary tables. But still, the drop table if Exists fails with  HiveAccessControlException.
> Steps to Repro:
> {code:java}
> use test; CREATE TEMPORARY TABLE temp_table (id int);
> drop table if exists test.temp_table;
> Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [rtrivedi] does not have [DROP] privilege on [test/temp_table] (state=42000,code=40000) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)