Valid query fails to validate
-----------------------------

                 Key: PIG-2020
                 URL: https://issues.apache.org/jira/browse/PIG-2020
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.8.0, 0.9.0
            Reporter: Xuefu Zhang
            Assignee: Xuefu Zhang
             Fix For: 0.9.0


The following query seems valid:

A = load 'x';
B = foreach A { T = filter $0 by $1 > $2; generate T; };
Store B into 'y';

However, the query fails due to validation error in 0.8:

2011-04-28 09:08:06,846 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
1026: Attempt to fetch field 1 from schema of size 1

Similar error is given in 0.9.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to