hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Youssefi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-53) Parser should detect tuple field number problems when possible
Date Fri, 07 Mar 2008 19:19:46 GMT

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

Amir Youssefi updated PIG-53:

    Issue Type: Sub-task  (was: Improvement)
        Parent: PIG-142

> Parser should detect tuple field number problems when possible
> --------------------------------------------------------------
>                 Key: PIG-53
>                 URL: https://issues.apache.org/jira/browse/PIG-53
>             Project: Pig
>          Issue Type: Sub-task
>          Components: impl
>            Reporter: Benjamin Reed
>            Assignee: Alan Gates
> In the following:
> A = load 'foo';
> B = foreach A generate $1, $2;
> C = foreach B generate $2;
> The parse should be able to detect that the last line is referencing a non-existant field.
It cannot do the check for the 2nd line since it doesn't know the number of fields of the
tuples of A, but it can for the last line since it know that tuples of B have 2 fields.
> It is much easier to figure out what is going on when the error is detected at parse
time rather than runtime.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message