[ 
https://issues.apache.org/jira/browse/HIVE-11487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu reopened HIVE-11487:
--------------------------------------------

Oops. I committed and just realised the generated code is with Autogenerated by 
Thrift Compiler (0.9.2). 

HIVE-11591 has changed the generated code to be with 0.9.3 and uses undated 
annotations

[~akshaygoyal], please re-generate with 0.9.3

> Add getNumPartitionsByFilter api in metastore api
> -------------------------------------------------
>
>                 Key: HIVE-11487
>                 URL: https://issues.apache.org/jira/browse/HIVE-11487
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Akshay Goyal
>             Fix For: 2.1.0
>
>         Attachments: HIVE-11487.01.patch, HIVE-11487.02.patch, 
> HIVE-11487.03.patch, HIVE-11487.04.patch, HIVE-11487.05.patch
>
>
> Adding api for getting number of partitions for a filter will be more optimal 
> when we are only interested in the number. getAllPartitions will construct 
> all the partition object which can be time consuming and not required.
> Here is a commit we pushed in a forked repo in our organization - 
> https://github.com/inmobi/hive/commit/68b3534d3e6c4d978132043cec668798ed53e444.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to