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)

Reply via email to