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

Josh Elser resolved CALCITE-835.
--------------------------------
       Resolution: Fixed
    Fix Version/s: avatica-1.8.0

Not a problem, but a test was added in 
https://git1-us-west.apache.org/repos/asf?p=calcite.git;a=commit;h=4140927c99b9dceb15ef4b85059b60e7898de0e7

> Unicode character seems to be handled incorrectly in Avatica
> ------------------------------------------------------------
>
>                 Key: CALCITE-835
>                 URL: https://issues.apache.org/jira/browse/CALCITE-835
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Holman Lan
>            Assignee: Josh Elser
>             Fix For: avatica-1.8.0
>
>
> This was discovered with Apache Phoenix (4.4 and 4.5) while using the thin 
> JDBC client to connect to Phoenix Query Server.
> This can be reproduced using a CREATE TABLE statement with non-ASCII 
> characters in column name:
> create table colUnicode ("НомерТелефона" integer not null primary key, col2 
> varchar)
> When executing the above statement using the thin client and retrieving the 
> table using either the thin or the thick client the column name shows up as 
> �оме�Теле�она. Executing the same CREATE table statement using 
> the thick client seems to work fine, the column name shows up correctly when 
> using either the thin or the thick client to retrieve the table.
> The same behavior can also be observed when when inserting non-ASCII data 
> into a varchar column in a table.
> When using WireShark to observe the network traffic, we can see the non-ASCII 
> character sent from the thin client to the server has been encoded into 
> UTF-8. 



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

Reply via email to