hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Commented] (HIVE-11487) Add getNumPartitionsByFilter api in metastore api
Date Wed, 02 Sep 2015 18:11:45 GMT


Sergey Shelukhin commented on HIVE-11487:

can you use req/resp pattern for a new metastore API? Thrift methods with "normal" signature
can never be modified in any way due to backward compat, which leads to proliferation of different
methods in metastore api

> Add getNumPartitionsByFilter api in metastore api
> -------------------------------------------------
>                 Key: HIVE-11487
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Akshay Goyal
>         Attachments: HIVE-11487.01.patch, HIVE-11487.02.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 -

This message was sent by Atlassian JIRA

View raw message