Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 3290 invoked from network); 4 Apr 2008 00:46:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 00:46:07 -0000 Received: (qmail 7670 invoked by uid 500); 4 Apr 2008 00:46:07 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 7651 invoked by uid 500); 4 Apr 2008 00:46:06 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 7642 invoked by uid 99); 4 Apr 2008 00:46:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 17:46:06 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 00:45:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 010FF234C0B8 for ; Thu, 3 Apr 2008 17:43:32 -0700 (PDT) Message-ID: <121747383.1207269811959.JavaMail.jira@brutus> Date: Thu, 3 Apr 2008 17:43:31 -0700 (PDT) From: "Xu Zhang (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Created: (ABDERA-140) Using cached data does not give me the expected result MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Using cached data does not give me the expected result ------------------------------------------------------ Key: ABDERA-140 URL: https://issues.apache.org/jira/browse/ABDERA-140 Project: Abdera Issue Type: Bug Reporter: Xu Zhang I was trying to run the following Pig script with the latest Pig stuff. Since essentially I was streaming 2 identical sets of data, I was expecting the final result which is the count of the name field to contain all even numbers. However, lots of odd number showed up in the actual result. {code} define X `perl -ne 'chomp $_; print "$_\n"' - ./user/pig/tests/data/singlefile/studenttab10k` cache('/user/pig/tests/data/singlefile/studenttab10k'); A = load '/user/pig/tests/data/singlefile/studenttab10k'; B = stream A through X as (name, age, gpa); C = group B by name; D = foreach C generate COUNT(B.$0); store D into 'results_22'; {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.