hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2137) JDBC driver doesn't encode string properly.
Date Fri, 26 Jul 2013 19:21:56 GMT

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

Hive QA commented on HIVE-2137:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12501499/HIVE-2137.patch

{color:green}SUCCESS:{color} +1 2653 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/194/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/194/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.CleanupPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.
                
> JDBC driver doesn't encode string properly.
> -------------------------------------------
>
>                 Key: HIVE-2137
>                 URL: https://issues.apache.org/jira/browse/HIVE-2137
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.9.0
>            Reporter: Jin Adachi
>             Fix For: 0.12.0
>
>         Attachments: HIVE-2137.patch
>
>
> JDBC driver for HiveServer1 decodes string by client side default encoding, which depends
on operating system unless we don't specify another encoding. 
> It ignore server side encoding. 
> For example, 
> when server side operating system and encoding are Linux (utf-8) and client side operating
system and encoding are Windows (shift-jis : it's japanese charset, makes character corruption
happens in the client.
> In current implementation of Hive, UTF-8 appears to be expected in server side so client
side should encode/decode string as UTF-8.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message