RE: Scan Question

2011-01-24 Thread Peter Haidinyak
com] Sent: Monday, January 24, 2011 4:24 PM To: user@hbase.apache.org Subject: Re: Scan Question if you look at the code, in the top of SingleColumnValueFilter, the javadoc says: "To prevent the entire row from being emitted if the column is not found on a row, use setFilterIfMissing. Ot

Re: Scan Question

2011-01-24 Thread Ryan Rawson
urned. What is also interesting is that some of the filters work as > expected and some don't. I've had several sets of eyes look at the code and > couldn't see any obvious problems. > > > Thanks > > -Pete > > -Original Message- > From: Ryan Raws

RE: Scan Question

2011-01-24 Thread Peter Haidinyak
ryano...@gmail.com] Sent: Monday, January 24, 2011 3:58 PM To: user@hbase.apache.org Subject: Re: Scan Question CompareFilter is just an abstract base of a series of other filters that compare specific components, what exactly are you having a problem with? On Mon, Jan 24, 2011 at 3:53 PM, Peter H

Re: Scan Question

2011-01-24 Thread Ryan Rawson
> I know shouldn't return any data I still get rows back. > > -Original Message- > From: Ryan Rawson [mailto:ryano...@gmail.com] > Sent: Monday, January 24, 2011 3:32 PM > To: user@hbase.apache.org > Subject: Re: Scan Question > > no, if you provide a

RE: Scan Question

2011-01-24 Thread Peter Haidinyak
That's the way I thought it should work. When I setup a filter with data that I know shouldn't return any data I still get rows back. -Original Message- From: Ryan Rawson [mailto:ryano...@gmail.com] Sent: Monday, January 24, 2011 3:32 PM To: user@hbase.apache.org Subject

Re: Scan Question

2011-01-24 Thread Ryan Rawson
no, if you provide a list of columns in your Scan query and a particular row does not actually contain _that specific column_, then the filter does not see anything and nothing for that row is returned. -ryan On Mon, Jan 24, 2011 at 3:20 PM, Peter Haidinyak wrote: > If I have a table where some

Scan Question

2011-01-24 Thread Peter Haidinyak
If I have a table where some of the columns might not have values in each row and I do a scan with a CompareFilter.CompareOp.EQUAL type filter on one of those columns will the scan bring back rows where there is no value in the column I am comparing on? Thanks -Pete