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

Mithun Radhakrishnan commented on HIVE-9628:
--------------------------------------------

Hey, [~sershe]. Thanks for reviewing.

I've made HIVE-9588 depend on this JIRA. This overload will be used from 
{{HCatClient.dropPartitions()}}, since it doesn't need the returned 
partition-list.

> 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)

Reply via email to