hadoop-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] Created: (PIG-446) Problem when schema contains more columns that actual data
Date Mon, 22 Sep 2008 23:40:44 GMT
Problem when schema contains more columns that actual data
----------------------------------------------------------

                 Key: PIG-446
                 URL: https://issues.apache.org/jira/browse/PIG-446
             Project: Pig
          Issue Type: Bug
            Reporter: Olga Natkovich
            Assignee: Alan Gates


Script:

-- extra1 and extra2 are not present in the data
A = load 'data' as (name, age: int, gpa, extra1, extra2);
B = limit A 10;
dump B;

Error:

 Out of bounds access: Request for field number 3 exceeds tuple size of 3
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:223)
        at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:121)
        at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:391)
        at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124)



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