You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Richard Ding (JIRA)" <ji...@apache.org> on 2011/02/18 23:06:38 UTC

[jira] Updated: (PIG-1862) Pig returns exit code 0 for the failed Pig script due to non-existing input directory

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

Richard Ding updated PIG-1862:
------------------------------

    Status: Patch Available  (was: Open)

> Pig returns exit code 0 for the failed Pig script due to non-existing input directory
> -------------------------------------------------------------------------------------
>
>                 Key: PIG-1862
>                 URL: https://issues.apache.org/jira/browse/PIG-1862
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.8.0
>            Reporter: Richard Ding
>            Assignee: Richard Ding
>             Fix For: 0.9.0, 0.8.0
>
>         Attachments: PIG-1862.patch
>
>
> Test case:
> {code}
> a = load 'nonexisting.file';
> b = filter a by $0 > 0;
> c = group b by $0;
> d = join c by $0, b by $0;
> store d into 'output';
> {code}
> The script fails, but the return code is 0.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira