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 1591E18A61 for ; Thu, 5 Nov 2015 16:26:28 +0000 (UTC) Received: (qmail 74606 invoked by uid 500); 5 Nov 2015 16:26:28 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 74536 invoked by uid 500); 5 Nov 2015 16:26:27 -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 74511 invoked by uid 99); 5 Nov 2015 16:26:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 16:26:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ADB972C14DC for ; Thu, 5 Nov 2015 16:26:27 +0000 (UTC) Date: Thu, 5 Nov 2015 16:26:27 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12344) Wrong types inferred for SemiJoin generation in CBO 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-12344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991918#comment-14991918 ] Hive QA commented on HIVE-12344: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12770762/HIVE-12344.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 9763 tests executed *Failed tests:* {noformat} TestHBaseAggrStatsCacheIntegration - did not produce a TEST-*.xml file org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver_hbase_queries org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import org.apache.hadoop.hive.hwi.TestHWISessionManager.testHiveDriver org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5931/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5931/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5931/ 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: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12770762 - PreCommit-HIVE-TRUNK-Build > Wrong types inferred for SemiJoin generation in CBO > --------------------------------------------------- > > Key: HIVE-12344 > URL: https://issues.apache.org/jira/browse/HIVE-12344 > Project: Hive > Issue Type: Bug > Components: CBO > Affects Versions: 1.3.0, 2.0.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-12344.patch > > > The method {{projectNonColumnEquiConditions}} in HiveCalciteUtil will assign the type wrongly for newly created conditions. The problem is in this block: > {noformat} > RexNode cond = rexBuilder.makeCall(SqlStdOperatorTable.EQUALS, > rexBuilder.makeInputRef(newLeftFields.get(i).getType(), newLeftOffset + i), > rexBuilder.makeInputRef(newLeftFields.get(i).getType(), newRightOffset + i)); > {noformat} > It looks like a code copy-paste mistake. In addition, index {{i}} is incorrect, as newLeftFields contains all the fields, not only the ones of the new condition. -- This message was sent by Atlassian JIRA (v6.3.4#6332)