Description
HCatClient has only one partition-getter function that accepts a partition-spec (Map<String, String> ), and that method assumes that at most one partition matches the specification. (i.e. It assumes that the partition-spec is complete.)
HCatClient must provide a way to retrieve all partitions that match a partial partition spec.
public List<HCatPartition> getPartitions(String dbName, String tableName, Map<String, String> partitionSpec);