hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "N Campbell (JIRA)" <>
Subject [jira] [Updated] (HIVE-3245) UTF encoded data not displayed correctly by Hive driver
Date Mon, 09 Jul 2012 12:25:34 GMT


N Campbell updated HIVE-3245:

    Attachment: screenshot-1.jpg

example of test shown in SQLSquirrel
> UTF encoded data not displayed correctly by Hive driver
> -------------------------------------------------------
>                 Key: HIVE-3245
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.8.0
>            Reporter: N Campbell
>         Attachments: CERT.TLJA.txt, screenshot-1.jpg
> various foreign language data (i.e. japanese, thai etc) is loaded into string columns
via tab delimited text files. A simple projection of the columns in the table is not displaying
the correct data. Exporting the data from Hive and looking at the files implies the data is
loaded properly. it appears to be an encoding issue at the driver but unaware of any required
URL connection properties re encoding that Hive JDBC requires.
> create table if not exists CERT.TLJA_JP_E ( RNUM int , C1 string, ORD int)
> row format delimited
> fields terminated by '\t'
> stored as textfile;
> create table if not exists CERT.TLJA_JP ( RNUM int , C1 string, ORD int)
> stored as sequencefile;
> load data local inpath '/home/hadoopadmin/jdbc-cert/CERT/CERT.TLJA_JP.txt'
> overwrite into table CERT.TLJA_JP_E;
> insert overwrite table CERT.TLJA_JP  select * from CERT.TLJA_JP_E;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message