hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15032) hbase shell scan filter string assumes UTF-8 encoding
Date Thu, 24 Dec 2015 10:34:49 GMT

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

Ted Yu commented on HBASE-15032:
--------------------------------

Verified that the new test passes.

> 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)

Mime
View raw message