Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.10.0
-
None
-
None
Description
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 doesn't.
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.