sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-338) Sentry policy import tool adds non-compatible comments to grant privilege statements
Date Wed, 16 Jul 2014 23:01:06 GMT
Prasad Mujumdar created SENTRY-338:
--------------------------------------

             Summary: Sentry policy import tool adds non-compatible comments to grant privilege
statements
                 Key: SENTRY-338
                 URL: https://issues.apache.org/jira/browse/SENTRY-338
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Prasad Mujumdar
             Fix For: 1.4.0


The policy file to SQL tool generates grant statements with inline comments prefixed with
'#'. 
For example, 
{noformat}
GRANT ALL ON TABLE tab1 TO ROLE junior_analyst_role; # server=server1, database=default
{noformat}
Beeline doesn't support that syntax and fails to execute the script.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message