-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: Xuefu Zhang
Fix For: 0.9.0
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