hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <>
Subject [jira] [Created] (HIVE-4273) HCatClient::dropPartition() doesn't fail for non-existent partitions.
Date Mon, 01 Apr 2013 23:39:15 GMT
Mithun Radhakrishnan created HIVE-4273:

             Summary: HCatClient::dropPartition() doesn't fail for non-existent partitions.
                 Key: HIVE-4273
             Project: Hive
          Issue Type: Bug
          Components: HCatalog
    Affects Versions: 0.10.0
            Reporter: Mithun Radhakrishnan
            Assignee: Mithun Radhakrishnan
            Priority: Minor

In HCatalog 0.4/0.5, if HCatClient::dropPartition() is called with a partition-spec that doesn't
select any partitions, then it should throw an exception, if(f) ifExists == false. But it

At the moment, HCatClientHMSImplementation::dropPartition() queries for all partitions and
attempts to drop them iteratively. It doesn't check for an empty partition-list. 

I'll fix this in a patch shortly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message