You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Ashish Kumar Singh (JIRA)" <ji...@apache.org> on 2014/08/09 00:38:12 UTC

[jira] [Updated] (SENTRY-338) Sentry policy import tool adds non-compatible comments to grant privilege statements

     [ https://issues.apache.org/jira/browse/SENTRY-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Kumar Singh updated SENTRY-338:
--------------------------------------

    Attachment: SENTRY-338.patch

> 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
>            Assignee: Ashish Kumar Singh
>             Fix For: 1.5.0
>
>         Attachments: SENTRY-338.patch
>
>
> 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)