I'm using HBase 0.19.3, and seeing some unusual behavior around
ColumnValueFilter. When I do this...
Scanner scanner = myTable.getScanner(COLUMN1, startKey);
...I get three results. But if I do...
Scanner scanner = myTable.getScanner(COLUMN1, startKey, new
ColumnValueFilter(COL1,
ColumnValueFilter.CompareOp.NOT_EQUAL,
Bytes.toBytes("foo")));
...I get no results, where I would expect three. But even if I change
NOT_EQUAL to EQUAL....
Scanner scanner = myTable.getScanner(COLUMN1, startKey, new
ColumnValueFilter(COL1,
ColumnValueFilter.CompareOp.EQUAL, Bytes.toBytes("foo")));
...I get no results. Is there something about ColumnValueFilter I'm not
understanding? I would expect either EQUAL or NOT_EQUAL to return
*something*...
Thanks
Mark
--
View this message in context:
http://www.nabble.com/ColumnValueFilter-issue-tp24105833p24105833.html
Sent from the HBase User mailing list archive at Nabble.com.