You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2009/01/26 20:53:59 UTC

[jira] Resolved: (PIG-53) Parser should detect tuple field number problems when possible

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