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 548F210BD3 for ; Wed, 16 Oct 2013 01:24:43 +0000 (UTC) Received: (qmail 18732 invoked by uid 500); 16 Oct 2013 01:24:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 18654 invoked by uid 500); 16 Oct 2013 01:24:42 -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 18565 invoked by uid 500); 16 Oct 2013 01:24:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 18532 invoked by uid 99); 16 Oct 2013 01:24:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 01:24:42 +0000 Date: Wed, 16 Oct 2013 01:24:42 +0000 (UTC) From: "Vikram Dixit K (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5560) Hive produces incorrect results on multi-distinct query 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-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796293#comment-13796293 ] Vikram Dixit K commented on HIVE-5560: -------------------------------------- Discussions on this jira brought up this bug. > Hive produces incorrect results on multi-distinct query > ------------------------------------------------------- > > Key: HIVE-5560 > URL: https://issues.apache.org/jira/browse/HIVE-5560 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Vikram Dixit K > > {noformat} > select key, count(distinct key) + count(distinct value) from src tablesample (10 ROWS) group by key > POSTHOOK: type: QUERY > POSTHOOK: Input: default@src > #### A masked pattern was here #### > 165 1 > val_165 1 > 238 1 > val_238 1 > 255 1 > val_255 1 > 27 1 > val_27 1 > 278 1 > val_278 1 > 311 1 > val_311 1 > 409 1 > val_409 1 > 484 1 > val_484 1 > 86 1 > val_86 1 > 98 1 > val_98 1 > {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)