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

Hudson commented on HBASE-17297:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.4 #564 (See 
[https://builds.apache.org/job/HBase-1.4/564/])
HBASE-17297 Single Filter in parenthesis cannot be parsed correctly (tedyu: rev 
1f9214bee7dbec345cdf8a613f7b5da64ff827a7)
* (edit) 
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestParseFilter.java
* (edit) 
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ParseFilter.java


> Single Filter in parenthesis cannot be parsed correctly
> -------------------------------------------------------
>
>                 Key: HBASE-17297
>                 URL: https://issues.apache.org/jira/browse/HBASE-17297
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters
>            Reporter: Xuesen Liang
>            Assignee: Xuesen Liang
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: 17297.master.patch
>
>
> {code}
> hbase(main):010:0* put 'testtable', 'row1', 'cf1:a', 'ab'
> 0 row(s) in 0.1800 seconds
> hbase(main):011:0> scan 'testtable'
> ROW                                      COLUMN+CELL
>  row1                                    column=cf1:a, 
> timestamp=1481538756308, value=ab
> hbase(main):012:0> scan 'testtable', FILTER=>"(ValueFilter(=,'binary:ab'))"
> ROW                                      COLUMN+CELL
>  row1                                    column=cf1:a, 
> timestamp=1481538756308, value=ab
> hbase(main):013:0* scan 'testtable', FILTER=>"(ValueFilter(=,'binary:x') AND 
> ValueFilter(=,'binary:y')) OR ValueFilter(=,'binary:ab')"
> ROW                                      COLUMN+CELL
>  row1                                    column=cf1:a, 
> timestamp=1481538756308, value=ab
> hbase(main):014:0> scan 'testtable', FILTER=>"(ValueFilter(=,'binary:x') AND 
> (ValueFilter(=,'binary:y'))) OR ValueFilter(=,'binary:ab')"
> ROW                                      COLUMN+CELL
> 0 row(s) in 0.0100 seconds
> {code}
> In the last scan, we should got a row.
> The inner cause is that the last filter is parsed incorrectly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to