Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 50953 invoked from network); 11 Mar 2009 19:27:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 19:27:11 -0000 Received: (qmail 59971 invoked by uid 500); 11 Mar 2009 19:27:11 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 59954 invoked by uid 500); 11 Mar 2009 19:27:11 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 59943 invoked by uid 99); 11 Mar 2009 19:27:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 12:27:11 -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; Wed, 11 Mar 2009 19:27:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A5B2234C003 for ; Wed, 11 Mar 2009 12:26:50 -0700 (PDT) Message-ID: <1039646200.1236799610419.JavaMail.jira@brutus> Date: Wed, 11 Mar 2009 12:26:50 -0700 (PDT) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-339) [Hive] problem in count distinct in 1mapreduce job with map side aggregation In-Reply-To: <992513386.1236750650417.JavaMail.jira@brutus> 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/HIVE-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681002#action_12681002 ] Zheng Shao commented on HIVE-339: --------------------------------- Agree. In short, for DINSTICT aggregations in 1-map/reduce plan, we do "de-duplicate" as much as we can in the map-phase, and the whole aggregation is done in the reduce phase. That's why reduce phase also needs iterate(). > [Hive] problem in count distinct in 1mapreduce job with map side aggregation > ---------------------------------------------------------------------------- > > Key: HIVE-339 > URL: https://issues.apache.org/jira/browse/HIVE-339 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Reporter: Namit Jain > Assignee: Namit Jain > Attachments: hive.339.1.patch, hive.339.2.patch, hive.339.3.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.