[ 
https://issues.apache.org/jira/browse/SENTRY-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219047#comment-14219047
 ] 

Xiaomeng Huang commented on SENTRY-526:
---------------------------------------

Thanks [~asuresh] !!

> Duplicate grant same but case sensitive privilges will throw exception
> ----------------------------------------------------------------------
>
>                 Key: SENTRY-526
>                 URL: https://issues.apache.org/jira/browse/SENTRY-526
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>            Assignee: Xiaomeng Huang
>         Attachments: SENTRY-526.001.patch, SENTRY-526.002.patch
>
>
> When we duplicate grant case sensitive privileges, it will throw exception
> {code}
> java.sql.SQLException: The statement was aborted because it would have caused 
> a duplicate key value in a unique or primary key constraint or unique index 
> identified by 'PRIVILEGE_INDEX' defined on 'SENTRY_DB_PRIVILEGE'.
> {code}
> Please see my test cases in my patch. Before the patch, the two cases will 
> throw exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to