Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When we duplicate grant case sensitive privileges, it will throw exception
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'.
Please see my test cases in my patch. Before the patch, the two cases will throw exception.
Attachments
Attachments
Issue Links
- blocks
-
SENTRY-537 Refactor AbstractTestWithHiveServer to cut down some test cases runtime
- Resolved
- links to