You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/06 01:05:01 UTC

[jira] [Created] (HIVE-7183) Size of partColumnGrants should be checked in ObjectStore#removeRole()

Ted Yu created HIVE-7183:
----------------------------

             Summary: Size of partColumnGrants should be checked in ObjectStore#removeRole()
                 Key: HIVE-7183
                 URL: https://issues.apache.org/jira/browse/HIVE-7183
             Project: Hive
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is related code:
{code}
        List<MPartitionColumnPrivilege> partColumnGrants = listPrincipalAllPartitionColumnGrants(
            mRol.getRoleName(), PrincipalType.ROLE);
        if (tblColumnGrants.size() > 0) {
          pm.deletePersistentAll(partColumnGrants);
{code}
Size of tblColumnGrants is currently checked.
Size of partColumnGrants should be checked instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)