Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 556489FDA for ; Fri, 4 May 2012 23:10:13 +0000 (UTC) Received: (qmail 88988 invoked by uid 500); 4 May 2012 23:10:12 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 88759 invoked by uid 500); 4 May 2012 23:10:11 -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 88743 invoked by uid 500); 4 May 2012 23:10:11 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 88735 invoked by uid 99); 4 May 2012 23:10:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 23:10:11 +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; Fri, 04 May 2012 23:10:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 86FB14313A4 for ; Fri, 4 May 2012 23:09:49 +0000 (UTC) Date: Fri, 4 May 2012 23:09:49 +0000 (UTC) From: "Araceli Henley (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <2054681007.29485.1336172989554.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (PIG-2682) pig harness does not correctly count the number of stores for multiple invocations of the same macro 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 Araceli Henley created PIG-2682: ----------------------------------- Summary: pig harness does not correctly count the number of stores for multiple invocations of the same macro Key: PIG-2682 URL: https://issues.apache.org/jira/browse/PIG-2682 Project: Pig Issue Type: Test Components: e2e harness Reporter: Araceli Henley For example, in this macro, TestDriverPig.countStores will only count the number of stores in the "test" macro, not the number of times store is invoked. test (in, out, column, filter_value ) returns b { a = load '$in' as (name: chararray, age: int, gpa: float); $b = filter a by $column < $filter_value ; store $b into '$out'; } x = test( '/user/hadoopqa/pignightly/tests/data/singlefile/studenttab10k', '/user/hadoopqa/pignightly/out/hadoopqa.1336171525/Y_Macro_Misc_7.out.1', 'age', 22 ); x = test( '/user/hadoopqa/pignightly/tests/data/singlefile/studenttab10k', '/user/hadoopqa/pignightly/out/hadoopqa.1336171525/Y_Macro_Misc_7.out.2', 'gpa', 3.0 ); There's no easy work around. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira