hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-440) Exceptions from UDFs inside a foreach are not captured
Date Fri, 19 Sep 2008 23:42:44 GMT

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

Pradeep Kamath updated PIG-440:
-------------------------------

    Attachment: PIG-440.patch

Patch for the issue

> Exceptions from UDFs inside a foreach are not captured
> ------------------------------------------------------
>
>                 Key: PIG-440
>                 URL: https://issues.apache.org/jira/browse/PIG-440
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Pradeep Kamath
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
>
>         Attachments: PIG-440.patch
>
>
> The following code runs to completion without an error though the UDF throws an exceptions:
> {code}
> register UdfThrowsException.jar;
> a = load 'st10k';
> b = load 'st10k';
> c = cogroup a by $0, b by $0;
> d = foreach c generate flatten(udfThrowsException((a,b));
> dump d;
> {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