You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2016/01/05 02:11:39 UTC

[jira] [Updated] (HBASE-15032) hbase shell scan filter string assumes UTF-8 encoding

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

Andrew Purtell updated HBASE-15032:
-----------------------------------
    Fix Version/s: 0.98.17

> 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
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 0.98.17
>
>         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)