[
https://issues.apache.org/jira/browse/HIVE-22230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Vary updated HIVE-22230:
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
Pushed to master.
Thanks for the patch [~lpinter]!
> Add support for filtering partitions on temporary tables
> --------------------------------------------------------
>
> Key: HIVE-22230
> URL: https://issues.apache.org/jira/browse/HIVE-22230
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Reporter: Laszlo Pinter
> Assignee: Laszlo Pinter
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22230.01.patch, HIVE-22230.02.patch,
> HIVE-22230.03.patch, HIVE-22230.04.patch, HIVE-22230.05.patch,
> HIVE-22230.06.patch, HIVE-22230.07.patch, HIVE-22230.08.patch,
> HIVE-22230.09.patch
>
>
> We need support for filtering partitions on temporary tables. In order to
> achieve this, SessionHiveMetastoreClient must implement the following methods:
> {code:java}
> public List<Partition> listPartitionsByFilter(String catName, String dbName,
> String tableName,String filter, int maxParts)
> public int getNumPartitionsByFilter(String catName, String dbName, String
> tableName, String filter)
> public PartitionSpecProxy listPartitionSpecsByFilter(String catName, String
> dbName, String tblName, String filter, int maxParts)
> public PartitionValuesResponse listPartitionValues(PartitionValuesRequest
> request)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)