You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Vitalii Tymchyshyn (JIRA)" <ji...@apache.org> on 2012/08/17 14:25:38 UTC

[jira] [Commented] (PIG-2556) CSVExcelStorage load: quoted field with newline as first character sees newline as record end

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

Vitalii Tymchyshyn commented on PIG-2556:
-----------------------------------------

I've also got into this bug. 
Should have check jira for patch before fixing :), but here is my pull request with patch in case this would make fix progress faster: https://github.com/apache/pig/pull/6
                
> CSVExcelStorage load: quoted field with newline as first character sees newline as record end 
> ----------------------------------------------------------------------------------------------
>
>                 Key: PIG-2556
>                 URL: https://issues.apache.org/jira/browse/PIG-2556
>             Project: Pig
>          Issue Type: Bug
>          Components: piggybank
>    Affects Versions: 0.9.1
>            Reporter: Peter Welch
>              Labels: newbie, patch
>         Attachments: patch_PIG2556_CSVExcelStorage.patch
>
>
> Loading a record that contains a newline as the first character in a quoted field is broken.  The loader interprets the quoted newline as the record delimiter.  I've identified and fixed the bug and added a new testcase to expose it.  I'll post a patch soon.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira