Return-Path: Delivered-To: apmail-pig-dev-archive@www.apache.org Received: (qmail 56055 invoked from network); 11 Apr 2011 16:32:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 16:32:46 -0000 Received: (qmail 33539 invoked by uid 500); 11 Apr 2011 16:32:45 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 33479 invoked by uid 500); 11 Apr 2011 16:32:45 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 33471 invoked by uid 500); 11 Apr 2011 16:32:45 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 33467 invoked by uid 99); 11 Apr 2011 16:32:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 16:32:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 16:32:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BA4F49D0CB for ; Mon, 11 Apr 2011 16:32:05 +0000 (UTC) Date: Mon, 11 Apr 2011 16:32:05 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <650040823.49420.1302539525759.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <342110759.49411.1302539165709.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (PIG-1987) -dryrun does not work with set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIG-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang reassigned PIG-1987: -------------------------------- Assignee: Richard Ding (was: Xuefu Zhang) > -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 > > > 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: 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