[ 
https://issues.apache.org/jira/browse/PIG-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893338#action_12893338
 ] 

Richard Ding commented on PIG-1522:
-----------------------------------

This has been fixed on trunk (will be in 0.8).

> Pig return code for dryrun
> --------------------------
>
>                 Key: PIG-1522
>                 URL: https://issues.apache.org/jira/browse/PIG-1522
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.6.0, 0.7.0
>            Reporter: Justin Hu
>
> Pig returns 1 for dryrun with the message:
> "Dry run completed. Substituted pig script is at ..."
> Some users are confused by the code "1", which usually indicate an error of 
> the operation.  Because the dryrun is completed successfully, users expect 
> "0".
> The Pig Error Handling doesn't specify the code for dryrun.  It may make 
> sense to return "0" for successful dryrun, or explain it in the document. 
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to