You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by ankit beohar <an...@gmail.com> on 2016/07/19 09:37:04 UTC

Hbase Prefix Filter

Hi All,

How can I achieve HBase Prefix Filter in Drill query.
My rowkey is 9898989898_@#$_ABC I want all records of 9898989898_@#$ which
is achieve in Hbase through prefix filter I need same in Drill query.

Best Regards,
ANKIT BEOHAR

Re: Hbase Prefix Filter

Posted by Jinfeng Ni <ji...@gmail.com>.
Will 'like' predicate work for you? Take a look at the example in
Drill unit test [1]

[1] https://github.com/apache/drill/blob/master/contrib/storage-hbase/src/test/java/org/apache/drill/hbase/TestHBaseFilterPushDown.java#L464


On Tue, Jul 19, 2016 at 2:37 AM, ankit beohar <an...@gmail.com> wrote:
> Hi All,
>
> How can I achieve HBase Prefix Filter in Drill query.
> My rowkey is 9898989898_@#$_ABC I want all records of 9898989898_@#$ which
> is achieve in Hbase through prefix filter I need same in Drill query.
>
> Best Regards,
> ANKIT BEOHAR