[ 
https://issues.apache.org/jira/browse/HBASE-19824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353963#comment-16353963
 ] 

Reid Chan commented on HBASE-19824:
-----------------------------------

Feel sorry for late response..
bq. perhaps we can introduce an new filter to address it.
Agree, it will not add complexity to the {{SingleColumnValueFilter}}, which may 
break its original behavior and add confusion to users. 
And, i think some of users may, as Ted and i did, think this filter does no 
filtering at the beginning, indicating that the function they want or expect is 
to fetch exactly column value match cells.

I can add that and close this one if no objections.

> SingleColumnValueFilter returns wrong result when used in shell command
> -----------------------------------------------------------------------
>
>                 Key: HBASE-19824
>                 URL: https://issues.apache.org/jira/browse/HBASE-19824
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Ted Yu
>            Assignee: Reid Chan
>            Priority: Major
>         Attachments: HBASE-19824.master.001.patch, 
> HBASE-19824.master.002.patch
>
>
> There are two cells in table t1:
> {code}
> ROW                                                         COLUMN+CELL
>  r1                                                         column=f1:a1, 
> timestamp=1516313683984, value=a2
>  r1                                                         column=f1:b1, 
> timestamp=1516313700744, value=b2
> {code}
> When SingleColumnValueFilter is used in shell command, no filtering was done:
> {code}
> hbase(main):022:0> scan 't1', {FILTER => "SingleColumnValueFilter('f1', 'a1', 
> =, 'binary:a2')"}
> ROW                                                         COLUMN+CELL
>  r1                                                         column=f1:a1, 
> timestamp=1516313683984, value=a2
>  r1                                                         column=f1:b1, 
> timestamp=1516313700744, value=b2
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to