You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/01/18 22:54:00 UTC

[jira] [Updated] (HBASE-19824) SingleColumnValueFilter returns wrong result when used in shell command

     [ https://issues.apache.org/jira/browse/HBASE-19824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-19824:
---------------------------
    Environment:     (was: There are two rows 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})
    Description: 
There are two rows 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}

> 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
>            Priority: Major
>
> There are two rows 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)