Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 301C317F57 for ; Tue, 5 May 2015 20:10:00 +0000 (UTC) Received: (qmail 76242 invoked by uid 500); 5 May 2015 20:10:00 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 76220 invoked by uid 500); 5 May 2015 20:10:00 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 76208 invoked by uid 99); 5 May 2015 20:10:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 20:10:00 +0000 Date: Tue, 5 May 2015 20:09:59 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10607) Combination of ReducesinkDedup + TopN optimization yields incorrect result if there are multiple GBY in reducer 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/HIVE-10607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529191#comment-14529191 ] Sushanth Sowmyan commented on HIVE-10607: ----------------------------------------- HIVE-10607 is currently marked as an outage in https://cwiki.apache.org/confluence/display/Hive/Hive+1.2+Release+Status, so yes, this is approved. Please go ahead and commit. > Combination of ReducesinkDedup + TopN optimization yields incorrect result if there are multiple GBY in reducer > --------------------------------------------------------------------------------------------------------------- > > Key: HIVE-10607 > URL: https://issues.apache.org/jira/browse/HIVE-10607 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer, Tez > Affects Versions: 0.13.0, 0.14.0, 1.0.0, 1.1.0 > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Attachments: HIVE-10607.patch > > > {code:sql} > select ctinyint, count(cdouble) from (select ctinyint, cdouble from alltypesorc group by ctinyint, cdouble) t1 group by ctinyint order by ctinyint limit 20; > {code} > This gives different result set depending on which set of optimizations are on. In particular in .q test environment following two invocations will give you different result set: > {code} > * mvn test -Phadoop-2 -Dtest.output.overwrite=true -Dtest=TestMiniTezCliDriver -Dqfile=test.q -Dhive.optimize.reducededuplication.min.reducer=1 -Dhive.limit.pushdown.memory.usage=0.3f > * mvn test -Phadoop-2 -Dtest.output.overwrite=true -Dtest=TestMiniTezCliDriver -Dqfile=test.q > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)