hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-63) PigStorage does not properly handle UTF8 data
Date Tue, 15 Jan 2008 16:12:34 GMT

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

Benjamin Reed updated PIG-63:

    Attachment: utf8.patch

Here is a patch to fix the problem in PigStorage as well as TextLoader. Test cases still need
to be written.

> PigStorage does not properly handle UTF8 data
> ---------------------------------------------
>                 Key: PIG-63
>                 URL: https://issues.apache.org/jira/browse/PIG-63
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>         Attachments: utf8.patch
> From Ben:
> I just checked the code and the problem seems to be PigStorage. getNext() uses
> readLine() which does not handle UTF8 correctly. putNext() also uses default encoder
rather than UTF8 explicitly.
> Internally and in BinStorage UTF8 appears to be handled correctly.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message