hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How to get complete row?
Date Fri, 16 May 2014 15:42:45 GMT
For single column family scan, the results should be fine.

Cheers


On Tue, May 6, 2014 at 11:13 PM, Bogala, Chandra Reddy <
Chandra.Bogala@gs.com> wrote:

> 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"));
>
> Thanks,
> Chandra
>
> -----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.
>
> Cheers
>
> 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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message