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 F36FD10588 for ; Mon, 24 Mar 2014 20:41:00 +0000 (UTC) Received: (qmail 36540 invoked by uid 500); 24 Mar 2014 20:40:49 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 36447 invoked by uid 500); 24 Mar 2014 20:40:47 -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 36394 invoked by uid 500); 24 Mar 2014 20:40:45 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 36371 invoked by uid 99); 24 Mar 2014 20:40:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 20:40:44 +0000 Date: Mon, 24 Mar 2014 20:40:44 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4668) wrong results for query with modulo (%) in WHERE clause filter 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-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-4668: ----------------------------------- Fix Version/s: 0.13.0 > wrong results for query with modulo (%) in WHERE clause filter > -------------------------------------------------------------- > > Key: HIVE-4668 > URL: https://issues.apache.org/jira/browse/HIVE-4668 > Project: Hive > Issue Type: Sub-task > Components: Query Processor > Affects Versions: vectorization-branch > Reporter: Eric Hanson > Assignee: Sarvesh Sakalanaga > Fix For: 0.13.0 > > > select disinternalmsft16431, count(disinternalmsft16431) from factsqlengineam_vec_orc where ddate >= "2012-12" and ddate < "2013-02" and disinternalmsft16431 % 5 = 0 group by disinternalmsft16431 > Expected result: > 0 3160232 > 5 33039254 > Actual result: > 0 8697033 > 6 2706407 > 5 94709959 > There should be no result row for 6 because 6 % 5 != 0. -- This message was sent by Atlassian JIRA (v6.2#6252)