Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 C9518100A9 for ; Fri, 26 Jul 2013 23:29:48 +0000 (UTC) Received: (qmail 94597 invoked by uid 500); 26 Jul 2013 23:29:48 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 94496 invoked by uid 500); 26 Jul 2013 23:29:48 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 94488 invoked by uid 500); 26 Jul 2013 23:29:48 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 94485 invoked by uid 99); 26 Jul 2013 23:29:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 23:29:48 +0000 Date: Fri, 26 Jul 2013 23:29:48 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4931) MAX/MIN aggregates yield incorrect results 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-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-4931: ----------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed to branch. Thanks, Remus! > MAX/MIN aggregates yield incorrect results > ------------------------------------------ > > Key: HIVE-4931 > URL: https://issues.apache.org/jira/browse/HIVE-4931 > Project: Hive > Issue Type: Sub-task > Components: Query Processor > Affects Versions: vectorization-branch > Reporter: Remus Rusanu > Assignee: Remus Rusanu > Priority: Minor > Fix For: vectorization-branch > > Attachments: HIVE-4931.1.patch > > > With the dataset attached by Tony, running: > > select max(ctinyint), max(csmallint), max(cint), max(cbigint), max(cfloat), max(cdouble) from alltypes_orc; > > this is the result in rowmode: > OK > 62 16379 1073737829 2146661184 62.0 16376.0 > > This is the result in vector mode: > OK > 1 16379 1071926788 -106115134 62.0 16361.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira