You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2010/01/29 03:53:34 UTC

[jira] Updated: (PIG-1210) fieldsToRead send the same fields more than once in some cases

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

Daniel Dai updated PIG-1210:
----------------------------

    Attachment: PIG-1210-1.patch

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