hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-18241) Query with LEFT SEMI JOIN producing wrong result
Date Tue, 12 Dec 2017 00:02:00 GMT


Hive QA commented on HIVE-18241:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 11516 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[auto_sortmerge_join_2] (batchId=48)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=160)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=113)
org.apache.hadoop.hive.ql.exec.tez.TestWorkloadManager.testApplyPlanQpChanges (batchId=285)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=226)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 7 tests failed

This message is automatically generated.

ATTACHMENT ID: 12901424 - PreCommit-HIVE-Build

> Query with LEFT SEMI JOIN producing wrong result
> ------------------------------------------------
>                 Key: HIVE-18241
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>         Attachments: HIVE-18241.1.patch, HIVE-18241.2.patch
> Following query produces wrong result
> {code:sql}
> select key, value from src outr left semi join (select a.key, b.value from src a join
(select distinct value from src) b on a.value > b.value group by a.key, b.value) inr on
outr.key=inr.key and outr.value=inr.value;
> {code}
> Expected result is empty set but it output bunch of rows.
> Schema for {{src}} table could be find in {{data/scripts/q_test_init.sql}}

This message was sent by Atlassian JIRA

View raw message