You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2017/12/07 04:00:00 UTC
[jira] [Created] (HIVE-18241) Query with LEFT SEMI JOIN producing
wrong result
Vineet Garg created HIVE-18241:
----------------------------------
Summary: Query with LEFT SEMI JOIN producing wrong result
Key: HIVE-18241
URL: https://issues.apache.org/jira/browse/HIVE-18241
Project: Hive
Issue Type: Bug
Reporter: Vineet Garg
Assignee: Vineet Garg
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
(v6.4.14#64029)