You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2014/08/29 20:51:54 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14115648#comment-14115648 ] 

Sravya Tirukkovalur edited comment on SENTRY-338 at 8/29/14 6:50 PM:
---------------------------------------------------------------------

+1. Looks good to me. Test failures are unrelated to the patch.


was (Author: sravya):
+1. Looks good to me.

> 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)