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

Koji Noguchi commented on PIG-3100:
-----------------------------------

I should have commented on PIG-3056, but when our users hit this issue, those 
affected records tend to contain a record-separator as part of the data by 
mistake. And that resulted in a single record separated into two incomplete 
ones.

For that case, I wasn't sure if we wanted to fill the incomplete records with 
null or have an option like PIG-3059.
                
> If a .pig_schema file is present, can get an index out of bounds error
> ----------------------------------------------------------------------
>
>                 Key: PIG-3100
>                 URL: https://issues.apache.org/jira/browse/PIG-3100
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jonathan Coveney
>            Assignee: Jonathan Coveney
>             Fix For: 0.12
>
>         Attachments: PIG-3100-0_nows.patch, PIG-3100-0.patch
>
>
> In the case that a .pig_schema file is present, if you have a record with 
> fewer than expected fields, pig errors out with an index out of bounds 
> exception that is annoying, unnecessary, and unhelpful.
> Instead of improving logging, I decided to just do what pig should do, which 
> is fill in the records.
> Patch will include a test and the fix.

--
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

Reply via email to