pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-53) Parser should detect tuple field number problems when possible
Date Mon, 26 Jan 2009 19:53:59 GMT

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

Olga Natkovich resolved PIG-53.

    Resolution: Fixed

This issue is resolved in the latest code

> 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