You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Pradeep Kamath (JIRA)" <ji...@apache.org> on 2008/09/20 01:42:44 UTC
[jira] Updated: (PIG-440) Exceptions from UDFs inside a foreach are
not captured
[ 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.