hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9628) HiveMetaStoreClient.dropPartitions(...List<ObjectPair<Integer,byte[]>>...) doesn't take (boolean needResult)
Date Tue, 10 Feb 2015 01:37:35 GMT

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

Mime
View raw message