hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogala, Chandra Reddy" <Chandra.Bog...@gs.com>
Subject RE: How to get complete row?
Date Wed, 07 May 2014 06:13:09 GMT
My queries always on a single column family. But return columns will be multiple from same
family. In this case I don't think below issue impact our results. Let me know if I am wrong.

scan 'test4',{STARTROW => '11645|1395288900', ENDROW => '11645|1398699000', COLUMNS
=> ['cf1:foo','cf1:bar'],FILTER => "SingleColumnValueFilter('cf1','foo',=, 'binary:\"xxxxxxx\"')"}

scan.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("foo"));
scan.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("bar"));


-----Original Message-----
From: Ted Yu [mailto:yuzhihong@gmail.com] 
Sent: Tuesday, May 06, 2014 5:50 PM
To: user@hbase.apache.org
Cc: user@hbase.apache.org
Subject: Re: How to get complete row?

For 0.96+, HBASE-10850 is needed for SingleColumnValueFilter to function correctly. 
This fix is in 0.98.2 whose RC is under vote. 


On May 6, 2014, at 2:34 AM, "Bogala, Chandra Reddy" <Chandra.Bogala@gs.com> wrote:

> I am able to solve by using SingleColumnValueFilter .
> Tx
> From: Bogala, Chandra Reddy [Tech]
> Sent: Tuesday, May 06, 2014 12:35 PM
> To: 'user@hbase.apache.org'
> Subject: How to get complete row?
> Hi,
>   I have similar requirement like in below posted thread. I need to get complete row
after applying value filter on single column value. Let know if anyone knows the solution.
> http://stackoverflow.com/questions/21636787/hbase-how-to-get-complete-rows-when-scanning-with-filters-by-qualifier-value
> Thanks,
> Chandra

View raw message