Thejas M Nair created HIVE-6805:
-----------------------------------
Summary: metastore api should consider privileges to be case
insensitive
Key: HIVE-6805
URL: https://issues.apache.org/jira/browse/HIVE-6805
Project: Hive
Issue Type: Bug
Reporter: Thejas M Nair
Assignee: Thejas M Nair
Metastore api has some code that considers privileges to be case sensitive.
This needs to be corrected.
For example in ObjectStore.grantPrivileges, the following check does a case
sensitive comparison -
{code}
for (String privilege : privs) {
if (privSet.contains(privilege)) {
throw new InvalidObjectException(privilege
+ " is already granted by " + grantor);
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)