----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55498/ -----------------------------------------------------------
(Updated March 31, 2017, 2:52 p.m.) Review request for hive and Chaoyu Tang. Changes ------- Changed the patch to not use additional data file. Bugs: HIVE-15538 https://issues.apache.org/jira/browse/HIVE-15538 Repository: hive-git Description ------- Added unit test for testing HIVE-13884 with more complex queries and hive.metastore.limit.partition.request enabled. It covers cases when the query predicates can be pushed down and the number of partitions can be retrieved via directSQL. It also covers cases when the number of partitions cannot be retrieved via directSQL, so it falls back to ORM. Diffs (updated) ----- itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestMetaStoreLimitPartitionRequest.java PRE-CREATION metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 80b1e98 Diff: https://reviews.apache.org/r/55498/diff/3/ Changes: https://reviews.apache.org/r/55498/diff/2-3/ Testing ------- The patch contains only a new unit test. Ran the test multiple times successfully. Thanks, Marta Kuczora