You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2015/11/06 08:52:27 UTC

[jira] [Commented] (HIVE-11721) non-ascii characters shows improper with "insert into"

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

Lefty Leverenz commented on HIVE-11721:
---------------------------------------

Errata:  The commit gives the wrong JIRA issue but the right summary text -- "HIVE-12164 : non-ascii characters shows improper with insert into (Aleksei Statkevich via Xuefu Zhang)".

It's commit d06b69f57624cd6b6bfafd8e28512b6e8ae03b6a.

Please update the errata.txt file (see HIVE-11704).

> non-ascii characters shows improper with "insert into"
> ------------------------------------------------------
>
>                 Key: HIVE-11721
>                 URL: https://issues.apache.org/jira/browse/HIVE-11721
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema
>    Affects Versions: 1.1.0, 1.2.1, 2.0.0
>            Reporter: Jun Yin
>            Assignee: Aleksei Statkevich
>             Fix For: 2.0.0
>
>         Attachments: HIVE-11721.1.patch, HIVE-11721.patch
>
>
> Hive: 1.1.0
> hive> create table char_255_noascii as select cast("Garçu 谢谢 Kôkaku ありがとうございますkidôtai한국어" as char(255));
> hive> select * from char_255_noascii;
> OK
> Garçu 谢谢 Kôkaku ありがとうございますkidôtai>한국어
> it shows correct, and also it works good with "LOAD DATA" 
> but when I try another way to insert data as below:
> hive> create table nonascii(t1 char(255));
> OK
> Time taken: 0.125 seconds
> hive> insert into nonascii values("Garçu 谢谢 Kôkaku ありがとうございますkidôtai한국어");
> hive> select * from nonascii;
> OK
> Gar�u "" K�kaku B�LhFTVD~Ykid�tai\m� 



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