Alexander Kolbasov created SENTRY-1528:
------------------------------------------

             Summary: DESCRIBE DATABASE for non-existent database fails with No 
valid privileges
                 Key: SENTRY-1528
                 URL: https://issues.apache.org/jira/browse/SENTRY-1528
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.8.0
            Reporter: Alexander Kolbasov
            Priority: Minor


{code}
> use bad;
Error: Error while compiling statement: FAILED: SemanticException [Error 
10072]: Database does not exist: bad (state=42000,code=10072)

> describe database badt;
Error: Error while compiling statement: FAILED: SemanticException No valid 
privileges
 Required privileges for this query: 
Server=server1->Db=bad->action=insert;Server=server1->Db=bad->action=select; 
(state=42000,code=40000)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to