You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/10/07 04:24:46 UTC

[jira] [Updated] (HIVE-2137) JDBC driver doesn't encode string properly.

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

Thejas M Nair updated HIVE-2137:
--------------------------------

    Fix Version/s:     (was: 0.12.0)

Preparing for 0.12 release. Removing fix version of 0.12 for those that are not in 0.12 branch.


> 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
>              Labels: patch
>         Attachments: HIVE-2137.patch, HIVE-2137.patch, 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 was sent by Atlassian JIRA
(v6.1#6144)