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 07635C703 for ; Thu, 27 Jun 2013 14:14:27 +0000 (UTC) Received: (qmail 62288 invoked by uid 500); 27 Jun 2013 14:14:25 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 62035 invoked by uid 500); 27 Jun 2013 14:14:25 -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 61369 invoked by uid 500); 27 Jun 2013 14:14:20 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 61360 invoked by uid 99); 27 Jun 2013 14:14:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 14:14:20 +0000 Date: Thu, 27 Jun 2013 14:14:20 +0000 (UTC) From: "Remus Rusanu (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4786) Incorrect aggregate 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-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remus Rusanu updated HIVE-4786: ------------------------------- Status: Patch Available (was: Open) The AVG and all VARIANCE related aggregates need to use double internaly even on LONG data types. > Incorrect aggregate results > ---------------------------- > > Key: HIVE-4786 > URL: https://issues.apache.org/jira/browse/HIVE-4786 > Project: Hive > Issue Type: Sub-task > Affects Versions: vectorization-branch > Reporter: Tony Murphy > Assignee: Remus Rusanu > Fix For: vectorization-branch > > Attachments: HIVE-4786.1.patch, tableAndData.zip > > > ORC + Vectorization Result: 1.94379947764182E37 > ORC & Text Result: 7.522728032127304E36 > query: > {noformat} > SELECT VAR_SAMP(cbigint) FROM alltypes_orc WHERE cbigint >= ctinyint; > {noformat} -- 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