Return-Path: Delivered-To: apmail-pig-dev-archive@www.apache.org Received: (qmail 43383 invoked from network); 5 Jan 2011 16:53:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 16:53:13 -0000 Received: (qmail 50022 invoked by uid 500); 5 Jan 2011 16:53:13 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 49597 invoked by uid 500); 5 Jan 2011 16:53:12 -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 49588 invoked by uid 500); 5 Jan 2011 16:53:11 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 49585 invoked by uid 99); 5 Jan 2011 16:53:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 16:53:11 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 16:53:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05GqmLu000156 for ; Wed, 5 Jan 2011 16:52:48 GMT Message-ID: <7452197.163481294246368592.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 11:52:48 -0500 (EST) From: "Thejas M Nair (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Resolved: (PIG-946) Combiner optimizer does not optimize when limit follow group, foreach 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-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair resolved PIG-946. ------------------------------- Resolution: Fixed Patch committed to trunk. > Combiner optimizer does not optimize when limit follow group, foreach > --------------------------------------------------------------------- > > Key: PIG-946 > URL: https://issues.apache.org/jira/browse/PIG-946 > Project: Pig > Issue Type: Improvement > Affects Versions: 0.3.0 > Reporter: Pradeep Kamath > Assignee: Thejas M Nair > Fix For: 0.9.0 > > Attachments: PIG-946-codechange-draft.patch, PIG-946.1.patch > > > The following script is combinable but is not optimized: > a = load '/user/pig/tests/data/singlefile/studenttab10k'; > b = group a by $1; > c = foreach b generate group, AVG(a.$2); > d = limit c 10; > dump d; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.