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

Daniel Dai commented on PIG-1210:
---------------------------------

Test failure is due to "java.lang.IllegalArgumentException: port out of 
range:-1". Should be an temporal one.

> fieldsToRead send the same fields more than once in some cases
> --------------------------------------------------------------
>
>                 Key: PIG-1210
>                 URL: https://issues.apache.org/jira/browse/PIG-1210
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.6.0
>
>         Attachments: PIG-1210-1.patch, PIG-1210-2.patch
>
>
> This bug will happen if the following condition meet:
> 1. LoadFunc is susceptible to duplicated fields in fieldsToRead. The only 
> LoadFunc we notice now is Zebra.
> 2. The first item in FOREACH statement contains reference to the same input 
> more than once.
> For example, the following script will be affected:
> a = load '11' using org.apache.hadoop.zebra.pig.TableLoader('a0');
> b = foreach a generate a0+a0;

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