You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Packer (JIRA)" <ji...@apache.org> on 2013/02/25 23:44:13 UTC

[jira] [Updated] (PIG-3141) Giving CSVExcelStorage an option to handle header rows

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

Jonathan Packer updated PIG-3141:
---------------------------------

    Attachment: csv_updated.patch

Re-adds the choice of delimiter, and makes the "header treatment" argument the last one to maintain backwards compatibility. All unit-tests from the old CSVExcelStorage pass.
                
> Giving CSVExcelStorage an option to handle header rows
> ------------------------------------------------------
>
>                 Key: PIG-3141
>                 URL: https://issues.apache.org/jira/browse/PIG-3141
>             Project: Pig
>          Issue Type: Improvement
>          Components: piggybank
>    Affects Versions: 0.11
>            Reporter: Jonathan Packer
>            Assignee: Jonathan Packer
>             Fix For: 0.12
>
>         Attachments: csv.patch, csv_updated.patch
>
>
> Adds an argument to CSVExcelStorage to skip the header row when loading. This works properly with multiple small files each with a header being combined into one split, or a large file with a single header being split into multiple splits.
> Also fixes a few bugs with CSVExcelStorage, including PIG-2470 and a bug involving quoted fields at the end of a line not escaping properly.
> Removes the choice of delimiter, since a CSV file ought to only use a comma delimiter, hence the name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira