hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-53) Parser should detect tuple field number problems when possible
Date Mon, 17 Dec 2007 23:22:42 GMT
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: Improvement
          Components: impl
            Reporter: Benjamin Reed


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.


Mime
View raw message