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 43DE91136E for ; Wed, 18 Jun 2014 19:40:27 +0000 (UTC) Received: (qmail 37484 invoked by uid 500); 18 Jun 2014 19:40:26 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 37372 invoked by uid 500); 18 Jun 2014 19:40:26 -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 37243 invoked by uid 500); 18 Jun 2014 19:40:26 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 37225 invoked by uid 99); 18 Jun 2014 19:40:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 19:40:26 +0000 Date: Wed, 18 Jun 2014 19:40:26 +0000 (UTC) From: "Cheolsoo Park (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PIG-4001) POPartialAgg aggregates too aggressively when multiple values aggregated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036254#comment-14036254 ] Cheolsoo Park commented on PIG-4001: ------------------------------------ +1. Will commit this later today. > POPartialAgg aggregates too aggressively when multiple values aggregated > ------------------------------------------------------------------------ > > Key: PIG-4001 > URL: https://issues.apache.org/jira/browse/PIG-4001 > Project: Pig > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Travis Woodruff > Assignee: Travis Woodruff > Priority: Minor > Attachments: PIG-4001.patch > > > {{POPartialAgg.aggregateRawRow()}} is counting values in {{numEntriesInTarget}}, but all the values that {{numEntriesInTarget}} is compared to count tuples. > This is similar to PIG-3649 but has less of a performance impact, as it generally does not cause map-side aggregation to be disabled entirely (since {{aggregateRawRow()}} is unlikely to be called before {{checkSizeReduction()}}; however, it can cause second-level aggregation to be run too often. -- This message was sent by Atlassian JIRA (v6.2#6252)