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] Resolved: (PIG-500) Load Func for POCast is not being set in some cases
Date Fri, 17 Oct 2008 20:33:44 GMT

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

Olga Natkovich resolved PIG-500.
--------------------------------

    Resolution: Fixed

patch committed; thanks santhosh for fixing and pradeep for investigation!

> 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
>
>         Attachments: PIG-500.patch
>
>
> 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