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

Richard Ding resolved PIG-1522.
-------------------------------

    Fix Version/s: 0.8.0
       Resolution: Fixed

> 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
>            Priority: Trivial
>             Fix For: 0.8.0
>
>
> 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