You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Yang Mingqi (JIRA)" <ji...@apache.org> on 2018/10/25 06:19:00 UTC

[jira] [Created] (SENTRY-2435) Checking privileges fails due to unescape identifiers in sql string

Yang Mingqi created SENTRY-2435:
-----------------------------------

             Summary: Checking privileges fails due to unescape identifiers in sql string
                 Key: SENTRY-2435
                 URL: https://issues.apache.org/jira/browse/SENTRY-2435
             Project: Sentry
          Issue Type: Bug
          Components: Hive V2
    Affects Versions: 2.0.1, 1.7.1
            Reporter: Yang Mingqi
             Fix For: 1.7.1
         Attachments: sentry.patch

For query "use `db_name`", sentry doesn't remove the encapsulating "`" pair from the identifier making authorization fails.

For query "drop database `db_name`" and some others, sentry returns "not match table meta grammar".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)