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 2008/09/23 05:42:44 UTC

[jira] Updated: (PIG-446) Problem when schema contains more columns that actual data

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

Olga Natkovich updated PIG-446:
-------------------------------

        Fix Version/s: types_branch
    Affects Version/s: types_branch

> 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
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Alan Gates
>             Fix For: types_branch
>
>
> 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.