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 40911200BD9 for ; Thu, 24 Nov 2016 13:05:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3DC53160B11; Thu, 24 Nov 2016 12:05:00 +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 84B11160B1E for ; Thu, 24 Nov 2016 13:04:59 +0100 (CET) Received: (qmail 48617 invoked by uid 500); 24 Nov 2016 12:04:58 -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 48599 invoked by uid 99); 24 Nov 2016 12:04:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2016 12:04:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6928D2C03DE for ; Thu, 24 Nov 2016 12:04:58 +0000 (UTC) Date: Thu, 24 Nov 2016 12:04:58 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15239) hive on spark combine equivalentwork get wrong result because of tablescan operation compare MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Nov 2016 12:05:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693097#comment-15693097 ] Hive QA commented on HIVE-15239: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12840399/HIVE-15239.2.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 10733 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[transform_ppr2] (batchId=134) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid] (batchId=151) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=146) org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_3] (batchId=91) org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_4] (batchId=92) org.apache.hive.hcatalog.api.TestHCatClientNotification.createTable (batchId=218) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2282/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2282/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2282/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12840399 - PreCommit-HIVE-Build > hive on spark combine equivalentwork get wrong result because of tablescan operation compare > --------------------------------------------------------------------------------------------- > > Key: HIVE-15239 > URL: https://issues.apache.org/jira/browse/HIVE-15239 > Project: Hive > Issue Type: Bug > Components: Spark > Affects Versions: 1.2.0, 2.1.0 > Reporter: wangwenli > Assignee: Rui Li > Attachments: HIVE-15239.1.patch, HIVE-15239.2.patch > > > env: hive on spark engine > reproduce step: > {code} > create table a1(KEHHAO string, START_DT string) partitioned by (END_DT string); > create table a2(KEHHAO string, START_DT string) partitioned by (END_DT string); > alter table a1 add partition(END_DT='20161020'); > alter table a1 add partition(END_DT='20161021'); > insert into table a1 partition(END_DT='20161020') values('2000721360','20161001'); > SELECT T1.KEHHAO,COUNT(1) FROM ( > SELECT KEHHAO FROM a1 T > WHERE T.KEHHAO = '2000721360' AND '20161018' BETWEEN T.START_DT AND T.END_DT-1 > UNION ALL > SELECT KEHHAO FROM a2 T > WHERE T.KEHHAO = '2000721360' AND '20161018' BETWEEN T.START_DT AND T.END_DT-1 > ) T1 > GROUP BY T1.KEHHAO > HAVING COUNT(1)>1; > +-------------+------+--+ > | t1.kehhao | _c1 | > +-------------+------+--+ > | 2000721360 | 2 | > +-------------+------+--+ > {code} > the result should be none record -- This message was sent by Atlassian JIRA (v6.3.4#6332)