hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-500) Load Func for POCast is not being set in some cases
Date Fri, 17 Oct 2008 15:34:46 GMT

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

Santhosh Srinivasan updated PIG-500:
------------------------------------

    Assignee: Santhosh Srinivasan

> Load Func for POCast is not being set in some cases
> ---------------------------------------------------
>
>                 Key: PIG-500
>                 URL: https://issues.apache.org/jira/browse/PIG-500
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Pradeep Kamath
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>
> The POCasts resulting from the following scripts have a null load Function reference
which leads to run time null pointer exceptions:
> Script 1:
> {code}
> a = load 'a' as (s);
> b = foreach a generate s#'a' as x;
> c = foreach b generate (int) x#'a' as intx;
> {code}
> Script 2:
> {code}
> a = load 'bla' as (s, m, l);
> b = foreach a generate s#'x' as f1, s#'y' as f2, s#'z' as f3;
> c = group b by f1;
> d = foreach c {
>     fil = filter b by f2 == 1;
>     generate flatten(group), SUM(fil.f3);
>     }
> {code}

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