Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Re: Review Request 17483: Support for hbase filters for composite keys


Copy link to this message
-
Re: Review Request 17483: Support for hbase filters for composite keys

This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17483/#review33329

hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java
<https://reviews.apache.org/r/17483/#comment62770>

    OK I see it now. All composite keys must extends the class HBaseCompositeKey, correct?
    
    If that is true, I think we can make compositeKeyObj of type HBaseCompositeKey and then cast the result from newInstance as HBaseCompositeKey and call getFilter directly.
    
    Perhaps not all composite keys are HBaseCompositeKey and thus reflection is needed?
- Brock Noland
On Jan. 29, 2014, 6:04 a.m., Swarnim Kulkarni wrote: