hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-9588) Reimplement HCatClientHMSImpl.dropPartitions() with HMSC.dropPartitions()
Date Thu, 05 Feb 2015 06:40:35 GMT
Mithun Radhakrishnan created HIVE-9588:
------------------------------------------

             Summary: Reimplement HCatClientHMSImpl.dropPartitions() with HMSC.dropPartitions()
                 Key: HIVE-9588
                 URL: https://issues.apache.org/jira/browse/HIVE-9588
             Project: Hive
          Issue Type: Bug
          Components: HCatalog, Metastore, Thrift API
    Affects Versions: 0.14.0
            Reporter: Mithun Radhakrishnan
            Assignee: Mithun Radhakrishnan


{{HCatClientHMSImpl.dropPartitions()}} currently has an embarrassingly inefficient implementation.
The partial partition-spec is converted into a filter-string. The partitions are fetched from
the server, and then dropped one by one.

Here's a reimplementation that uses the {{ExprNode}}-based {{HiveMetaStoreClient.dropPartitions()}}.
It cuts out the excessive back-and-forth between the HMS and the client-side. It also reduces
the memory footprint (from loading all the partitions that are to be dropped). 



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

Mime
View raw message