You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2016/11/17 15:42:58 UTC
[jira] [Updated] (SENTRY-1528) DESCRIBE DATABASE for non-existent
database fails with No valid privileges
[ https://issues.apache.org/jira/browse/SENTRY-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kolbasov updated SENTRY-1528:
---------------------------------------
Description:
{code}
> use bad;
Error: Error while compiling statement: FAILED: SemanticException [Error 10072]: Database does not exist: bad (state=42000,code=10072)
> describe database bad;
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}
was:
{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}
> 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 bad;
> 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)