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

Aihua Xu commented on HIVE-17699:
---------------------------------

[[email protected]] Looked at those classes, we should call 
authValidator.checkPrivileges for metadata query.  

> Skip calling authValidator.checkPrivileges when there is nothing to get 
> authorized
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-17699
>                 URL: https://issues.apache.org/jira/browse/HIVE-17699
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-17699.1.patch
>
>
> For the command like "drop database if exists db1;" and the database db1 
> doesn't exist, there will be nothing to get authorized. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to