You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "tzpBingo (JIRA)" <ji...@apache.org> on 2015/10/28 10:03:27 UTC
[jira] [Updated] (PHOENIX-2354) use like expression in SELECT
query. It works well when I put Chinese characters
[ https://issues.apache.org/jira/browse/PHOENIX-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tzpBingo updated PHOENIX-2354:
------------------------------
Fix Version/s: 4.5.0
> use like expression in SELECT query. It works well when I put Chinese characters
> --------------------------------------------------------------------------------
>
> Key: PHOENIX-2354
> URL: https://issues.apache.org/jira/browse/PHOENIX-2354
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.4.0
> Environment: Phoenix on Hbase
> Reporter: tzpBingo
> Fix For: 4.5.0
>
>
> When I use like expression in SELECT query. It works well when I put Chinese characters in
> LIKE expression on NONE PRIMARY KEY columns . BUT when I put them in LIKE expression on PRIMARY
> KEY , it occurs an Exception:
> select * from "test3" where PK like '手机%';
> org.apache.phoenix.schema.IllegalDataException: CHAR types may only contain single byte characters
> (手机)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)