hive-issues 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-11112) ISO-8859-1 text output has fragments of previous longer rows appended
Date Fri, 26 Jun 2015 07:38:05 GMT

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

Hive QA commented on HIVE-11112:
--------------------------------



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

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

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

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4388/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4388/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4388/

Messages:
{noformat}
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.

ATTACHMENT ID: 12741917 - PreCommit-HIVE-TRUNK-Build

> ISO-8859-1 text output has fragments of previous longer rows appended
> ---------------------------------------------------------------------
>
>                 Key: HIVE-11112
>                 URL: https://issues.apache.org/jira/browse/HIVE-11112
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 1.2.0
>            Reporter: Yongzhi Chen
>            Assignee: Yongzhi Chen
>         Attachments: HIVE-11112.1.patch
>
>
> If a LazySimpleSerDe table is created using ISO 8859-1 encoding, query results for a
string column are incorrect for any row that was preceded by a row containing a longer string.
> Example steps to reproduce:
> 1. Create a table using ISO 8859-1 encoding:
> CREATE TABLE person_lat1 (name STRING)
> ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' WITH SERDEPROPERTIES
('serialization.encoding'='ISO8859_1');
> 2. Copy an ISO-8859-1 encoded text file into the appropriate warehouse folder in HDFS.
I'll attach an example file containing the following text: 
> Müller,Thomas
> Jørgensen,Jørgen
> Peña,Andrés
> Nåm,Fæk
> 3. Execute SELECT * FROM person_lat1
> Result - The following output appears:
> +-------------------+--+
> | person_lat1.name |
> +-------------------+--+
> | Müller,Thomas |
> | Jørgensen,Jørgen |
> | Peña,Andrésørgen |
> | Nåm,Fækdrésørgen |
> +-------------------+--+



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

Mime
View raw message