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 93CCD106BD for ; Tue, 11 Mar 2014 15:26:05 +0000 (UTC) Received: (qmail 24085 invoked by uid 500); 11 Mar 2014 15:25:57 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 23010 invoked by uid 500); 11 Mar 2014 15:25:55 -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 22947 invoked by uid 500); 11 Mar 2014 15:25:53 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 22768 invoked by uid 99); 11 Mar 2014 15:25:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 15:25:50 +0000 Date: Tue, 11 Mar 2014 15:25:50 +0000 (UTC) From: "Remus Rusanu (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-6614) Vectorized aggregates computed on map side diffe (hash mode) from values computed on reduce side (streaming mode) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Remus Rusanu created HIVE-6614: ---------------------------------- Summary: Vectorized aggregates computed on map side diffe (hash mode) from values computed on reduce side (streaming mode) Key: HIVE-6614 URL: https://issues.apache.org/jira/browse/HIVE-6614 Project: Hive Issue Type: Bug Reporter: Remus Rusanu Assignee: Remus Rusanu Priority: Critical HIVE-6222 allows vectorized aggregates to operate on streaming mode, ie. flush after each key change and let the shuffle+reduce side to compute the final aggregate values. An error in patch .2 for HIVE-6222 shows that when the queries run in streaming mode, there are rounding diffs for some agg functions (VAR and friends). These occurred for non-decimal types, like ctinyint: {code} select csmallint, VAR_POP(ctinyint) from alltypesorc where csmallint = -75 group by csmallint; {code} This produces 107.55555555555556 vs. 107.55555555555554. -- This message was sent by Atlassian JIRA (v6.2#6252)