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

James Taylor commented on PHOENIX-2073:
---------------------------------------

+1 on the fix. Thanks so much for the contribution, [~byh0831]. Would you mind 
committing this, [~tdsilva] (and maybe beforehand just run the full unit test 
suite to make sure it doesn't regress anything - did you do that, [~byh0831])?

> Two bytes character in LIKE expression is not allowed
> -----------------------------------------------------
>
>                 Key: PHOENIX-2073
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2073
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Yuhao Bi
>         Attachments: PHOENIX-2073-v1.patch, PHOENIX-2073.patch
>
>
> If you use some two bytes character like Chinese characters in like 
> expression, you will get a SQLException.
> SELECT * FROM TEST.TEST WHERE name LIKE '中文%';
> java.sql.SQLException: ERROR 201 (22000): Illegal data. CHAR types may only 
> contain single byte characters (中文)



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

Reply via email to