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/04/12 23:24:05 UTC

[jira] [Updated] (PIG-1987) -dryrun does not work with set

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

Richard Ding updated PIG-1987:
------------------------------

    Attachment: PIG-1987.patch

> -dryrun does not work with set
> ------------------------------
>
>                 Key: PIG-1987
>                 URL: https://issues.apache.org/jira/browse/PIG-1987
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Alan Gates
>            Assignee: Richard Ding
>             Fix For: 0.9.0
>
>         Attachments: PIG-1987.patch
>
>
> The following script works
> {code}
> set default_parallel 10;
> import 'scripts/macro1.pig';
> import 'scripts/macro2.pig';
> wlogs = load 'clicks' as (url, pageid, timestamp);
> good  = spam_filter(wlogs, url);
> {code}
> But if -dryrun is added to the command line it returns the error:
> {code}
> ERROR 1200: <file scripts/book.pig.substituted, line 1, column 0>  Syntax error, unexpected symbol at or near 'set'
> {code}

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