Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63F8C1788F for ; Fri, 17 Apr 2015 18:41:00 +0000 (UTC) Received: (qmail 5766 invoked by uid 500); 17 Apr 2015 18:41:00 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 5669 invoked by uid 500); 17 Apr 2015 18:41:00 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 5535 invoked by uid 99); 17 Apr 2015 18:41:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 18:41:00 +0000 Date: Fri, 17 Apr 2015 18:41:00 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10379) Wrong result when executing with tez 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-10379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500402#comment-14500402 ] Sergey Shelukhin commented on HIVE-10379: ----------------------------------------- [~hagleitn] fyi > Wrong result when executing with tez > ------------------------------------- > > Key: HIVE-10379 > URL: https://issues.apache.org/jira/browse/HIVE-10379 > Project: Hive > Issue Type: Bug > Components: Tez > Affects Versions: 0.13.0, 0.14.0 > Environment: Hortonworks sandbox 2.1.1 & 2.2.0 > Reporter: ErwanMAS > > I do a left join with a lateral view outer , too many row are generated with tez . > in map reduce , i have 125 rows , in tez 132 ..... > Example : > {noformat} > drop table foo ; > create table foo ( dummyfoo int ) ; > insert into table foo select count(*) from foo ; > select count(*) as cnt from ( > select a.val,p.code from > ( select cast((((one*5)+two)*5+three) as int) as val from foo > lateral view outer explode(split("0,1,2,3,4",",")) tbl_1 as one > lateral view outer explode(split("0,1,2,3,4",",")) tbl_2 as two > lateral view outer explode(split("0,1,2,3,4",",")) tbl_3 as three ) as a > left join > ( select dummyfoo as code from foo ) p on p.code=a.val > ) w ; > set hive.execution.engine=tez; > set hive.vectorized.execution.enabled=false; > select count(*) as cnt from ( > select a.val,p.code from > ( select cast((((one*5)+two)*5+three) as int) as val from foo > lateral view outer explode(split("0,1,2,3,4",",")) tbl_1 as one > lateral view outer explode(split("0,1,2,3,4",",")) tbl_2 as two > lateral view outer explode(split("0,1,2,3,4",",")) tbl_3 as three ) as a > left join > ( select dummyfoo as code from foo ) p on p.code=a.val > ) w ; > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)