Description
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.
Attachments
Attachments
Issue Links
- blocks
-
LENS-518 Move Hive dependency to Apache Hive
- Closed
- relates to
-
HIVE-13862 org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getNumPartitionsViaSqlFilter falls back to ORM
- Closed
- links to