[
https://issues.apache.org/jira/browse/PIG-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240006#comment-13240006
]
Dmitriy V. Ryaboy commented on PIG-2620:
----------------------------------------
Note an extensive discussion of this feature and potential approaches to
syntax, implementation, and semantics on this wiki page:
http://wiki.apache.org/pig/PigErrorHandlingInScripts
> Customizable Error Handling in Pig
> ----------------------------------
>
> Key: PIG-2620
> URL: https://issues.apache.org/jira/browse/PIG-2620
> Project: Pig
> Issue Type: New Feature
> Reporter: Dmitriy V. Ryaboy
> Labels: gsoc2012
>
> The current behavior of Pig when handling exceptions thrown by UDFs is to
> fail and stop processing. We want to extend this behavior to let user have
> finer grain control on error handling.
> Depending on the use-case there are several options users would like to have:
> Stop the execution and report an error
> Ignore tuples that cause exceptions and log warnings
> Ignore tuples that cause exceptions and redirect them to an error relation
> (to enable statistics, debugging, ...)
> Write their own error handler
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira