Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EC9B9200BAA for ; Thu, 27 Oct 2016 13:54:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EB8E3160AF6; Thu, 27 Oct 2016 11:54:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 63577160AE4 for ; Thu, 27 Oct 2016 13:54:43 +0200 (CEST) Received: (qmail 23600 invoked by uid 500); 27 Oct 2016 11:54:21 -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 22185 invoked by uid 99); 27 Oct 2016 11:53:37 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2016 11:53:37 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B25CC2C1F54 for ; Thu, 27 Oct 2016 11:45:58 +0000 (UTC) Date: Thu, 27 Oct 2016 11:45:58 +0000 (UTC) From: "yinsong (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-15083) tez hsql response different from mr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Oct 2016 11:54:44 -0000 yinsong created HIVE-15083: ------------------------------ Summary: tez hsql response different from mr Key: HIVE-15083 URL: https://issues.apache.org/jira/browse/HIVE-15083 Project: Hive Issue Type: Bug Components: Clients Affects Versions: 1.2.1 Environment: centos5.6,hdp2.4.2.0,hadoop2.7.1,hive1.2.1 Reporter: yinsong newdb.dwd_devices_ds stored as orc hsql like this: select count(t.lattice_id) from (select a.lattice_id, case when sum(a.box_count) = 0 then 0 else (sum(a.max_box_orders+a.medium_box_orders+a.min_box_orders+a.ice_box_orders)/sum(a.box_count)) end as c_order_rate from (select lattice_id,device_id,box_count,max_box_orders,medium_box_orders,min_box_orders,ice_box_orders from newdb.dwd_devices_ds where device_id NOT IN (1060988,1047539,1043597,1033836,1019976,1019941,1019391,1000019,1000018,4306,1000018,1000019,1001681,1006552,1019391,1019941,1019976,1031750,1033836,1043597,1047539,1047549,1060312,1060988,1061884,1062811) and (deleted_at is null) and day >= '2016-09-26' and day <= '2016-10-25') a left join (select distinct device_id from newdb.dwd_devices_ds where deleted_at is not null and day >= '2016-09-26' and day <= '2016-10-25') as b on a.device_id = b.device_id where b.device_id is null group by a.lattice_id) t where c_order_rate<0.05 hive on tez result:12815 hive on mr result:12530 hive on mr result Should be correct -- This message was sent by Atlassian JIRA (v6.3.4#6332)