You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/02/10 02:37:35 UTC

[jira] [Commented] (HIVE-9628) HiveMetaStoreClient.dropPartitions(...List>...) doesn't take (boolean needResult)

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

Sergey Shelukhin commented on HIVE-9628:
----------------------------------------

+1 pending tests. Is this overload supposed to be used anywhere by default?

> HiveMetaStoreClient.dropPartitions(...List<ObjectPair<Integer,byte[]>>...) doesn't take (boolean needResult)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-9628
>                 URL: https://issues.apache.org/jira/browse/HIVE-9628
>             Project: Hive
>          Issue Type: Bug
>          Components: API, Metastore
>    Affects Versions: 0.14.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-9628.1.patch
>
>
> {{HiveMetaStoreClient::dropPartitions()}} assumes that the dropped {{List<Partition>}} must be returned to the caller. That's a lot of thrift traffic that the caller might choose not to pay for.
> I propose an overload that retains the default behaviour, but allows {{needResult}} to be overridden.



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