----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17483/#review33313 -----------------------------------------------------------
Nice work!! See comments below. hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java <https://reviews.apache.org/r/17483/#comment62763> Thank you for fixing the spelling error! Can we also fix the exception nesting by passing in cce as the second arg? hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java <https://reviews.apache.org/r/17483/#comment62762> Could we create a tiny interface here so we don't have to perform reflection to call getFilter? hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java <https://reviews.apache.org/r/17483/#comment62760> I think we should have just one catch and have it throw IllegalStateException with a message like "Could not instantiate " + compositeKeyClassName hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java <https://reviews.apache.org/r/17483/#comment62759> Looks like indent and tabs here? hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java <https://reviews.apache.org/r/17483/#comment62761> IllegalStateException ql/src/java/org/apache/hadoop/hive/ql/index/IndexSearchCondition.java <https://reviews.apache.org/r/17483/#comment62758> indent is too much here and I think there might be a tab? - Brock Noland On Jan. 29, 2014, 6:04 a.m., Swarnim Kulkarni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/17483/ > ----------------------------------------------------------- > > (Updated Jan. 29, 2014, 6:04 a.m.) > > > Review request for hive. > > > Bugs: HIVE-6290 > https://issues.apache.org/jira/browse/HIVE-6290 > > > Repository: hive-git > > > Description > ------- > > Support to be able to provide scan filter for hive/hbase integration for > composite keys. > > > Diffs > ----- > > hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseCompositeKey.java > 5008f15 > > hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java > 899ccce > > hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java > 704fcb9 > > hbase-handler/src/test/org/apache/hadoop/hive/hbase/HBaseTestCompositeKey.java > 13c344b > ql/src/java/org/apache/hadoop/hive/ql/index/IndexPredicateAnalyzer.java > d39ee2e > ql/src/java/org/apache/hadoop/hive/ql/index/IndexSearchCondition.java > 5f1329c > ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeDescUtils.java e50026b > > Diff: https://reviews.apache.org/r/17483/diff/ > > > Testing > ------- > > Tested using locally created data and debug logs that the filter gets applied > on the scan. > > > Thanks, > > Swarnim Kulkarni > >
