[
https://issues.apache.org/jira/browse/HCATALOG-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mithun Radhakrishnan updated HCATALOG-567:
------------------------------------------
Attachment: HCATALOG-567.trunk.patch
HCATALOG-567.branch4.patch
The fix, with tests.
> HCatClient must allow retrieval of multiple partitions using a partial
> partition spec.
> --------------------------------------------------------------------------------------
>
> Key: HCATALOG-567
> URL: https://issues.apache.org/jira/browse/HCATALOG-567
> Project: HCatalog
> Issue Type: Bug
> Components: client
> Affects Versions: 0.5, 0.4.1
> Reporter: Mithun Radhakrishnan
> Fix For: 0.5, 0.4.1
>
> Attachments: HCATALOG-567.branch4.patch, HCATALOG-567.trunk.patch
>
>
> 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);
--
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: http://www.atlassian.com/software/jira