hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swarnim Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7183) Size of partColumnGrants should be checked in ObjectStore#removeRole()
Date Wed, 11 Jun 2014 13:51:01 GMT

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

Swarnim Kulkarni commented on HIVE-7183:
----------------------------------------

{quote}
do u know how to change this issue's status to 'solved or patch-available'?
{quote}

You just need to click on the "Submit Patch" button to change the status to "Patch Available".
One of the committers probably need to add you to the contributors list so that you can assign
JIRAs to yourself.

> 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
>         Attachments: HIVE-7183.patch
>
>
> 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)

Mime
View raw message