[
https://issues.apache.org/jira/browse/HBASE-15032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
huaxiang sun updated HBASE-15032:
---------------------------------
Status: Patch Available (was: Open)
Quote from HBASE-1460, "so ruby's to_java_bytes function just goes straight to
a byte array without any encoding complications".
> 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
>
>
> 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)