----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37925/#review110941 -----------------------------------------------------------
Ship it! Sergey Shelukhin, Can you also have a look at the changes ? - Amareshwari Sriramadasu On Dec. 16, 2015, 12:18 p.m., Akshay Goyal wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37925/ > ----------------------------------------------------------- > > (Updated Dec. 16, 2015, 12:18 p.m.) > > > Review request for hive, Amareshwari Sriramadasu and Sergey Shelukhin. > > > Bugs: HIVE-11487 > https://issues.apache.org/jira/browse/HIVE-11487 > > > Repository: hive-git > > > Description > ------- > > Adding api for getting number of partitions for a filter. In order to be more > optimal when only interested in the number. getAllPartitions will construct > all the partition object which can be time consuming and not required. > > > Diffs > ----- > > metastore/if/hive_metastore.thrift bb754f1 > metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java > 0940fd7 > > metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java > c5e7a5f > metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java > aa96f77 > metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java > 36b316a > metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java > abfe2b8 > metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java e118a3b > metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java > b9509ab > > metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java > c1156b3 > > metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java > bf20e99 > metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java > 9089d1c > ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java c682df2 > > Diff: https://reviews.apache.org/r/37925/diff/ > > > Testing > ------- > > > Thanks, > > Akshay Goyal > >