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

huaxiang sun updated HBASE-15032:
---------------------------------
    Attachment: HBASE-15032-v003.patch

Attach v3 patch, added a shell unittest case. 

With patch from BASE-15023, the following unittest passed.

mvn clean test -Dtest=TestShell -Dshell.test=/TableComplexMethodsTest/

> hbase shell scan filter string assumes UTF-8 encoding
> -----------------------------------------------------
>
>                 Key: HBASE-15032
>                 URL: https://issues.apache.org/jira/browse/HBASE-15032
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>         Attachments: HBASE-15032-v001.patch, HBASE-15032-v002.patch, 
> HBASE-15032-v002.patch, HBASE-15032-v003.patch
>
>
> Current hbase shell scan filter string is assumed to be UTF-8 encoding, which 
> makes the following scan not working.
> hbase(main):011:0> scan 't1'
> ROW                                                 COLUMN+CELL               
>                                                                               
>                                               
>  r4                                                 column=cf1:q1, 
> timestamp=1450812398741, value=\x82 
> hbase(main):003:0> scan 't1', {FILTER => "SingleColumnValueFilter ('cf1', 
> 'q1', >=, 'binary:\x80', true, true)"}
> ROW                                                 COLUMN+CELL               
>                                                                               
>                                               
> 0 row(s) in 0.0130 seconds



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

Reply via email to