[ 
https://issues.apache.org/jira/browse/PIG-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562222#action_12562222
 ] 

Benjamin Reed commented on PIG-63:
----------------------------------

The switch statement is there for performance. You are correct. There is a 
break missing in the default case. (The default case should never really 
happen, but I put it there just in case some implementation of the decoder does 
something weird.)

> 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
>            Assignee: Benjamin Reed
>         Attachments: utf8.patch, utf8.patch, utf8.patch, utf8_v4.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.

Reply via email to