hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12344) Wrong types inferred for SemiJoin generation in CBO
Date Thu, 05 Nov 2015 16:26:27 GMT

    [ 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)

Mime
View raw message