phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas D'Silva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-2073) Two bytes character in LIKE expression is not allowed
Date Fri, 26 Jun 2015 18:11:08 GMT

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

Thomas D'Silva updated PHOENIX-2073:
------------------------------------
    Fix Version/s: 4.4.1
                   4.5.0
                   5.0.0

> 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
>             Fix For: 5.0.0, 4.5.0, 4.4.1
>
>         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)

Mime
View raw message