[ https://issues.apache.org/jira/browse/PIG-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474535#comment-13474535 ]
Andrew Perepelytsya commented on PIG-2127: ------------------------------------------ The reason Prashant couldn't reproduce the issue is that it doesn't happen with the schema declared inline. However, if schema has been loaded from the .pig_schema file (e.g. leave PigStorage defaults, it will load it if available), things break. > PigStorageSchema need to deal with missing field > ------------------------------------------------ > > Key: PIG-2127 > URL: https://issues.apache.org/jira/browse/PIG-2127 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.10.0 > Reporter: Daniel Dai > Fix For: 0.10.0 > > > Currently, if data contains fewer columns than the schema, PigStorageSchema > will throw IndexOutOfBound exception (PigStorageSchema:97). We should padding > null in this case as we did in PigStorage. -- 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