hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1210) fieldsToRead send the same fields more than once in some cases
Date Fri, 29 Jan 2010 18:24:34 GMT

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

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

    Status: Patch Available  (was: Open)

Attach patch with test case.

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


Mime
View raw message