You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2023/05/02 09:30:00 UTC
[jira] [Commented] (HIVE-27088) Using MergeJoin and using filters does not work
[ https://issues.apache.org/jira/browse/HIVE-27088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718498#comment-17718498 ]
Krisztian Kasa commented on HIVE-27088:
---------------------------------------
[~ryu_kobayashi]
Could you please add the full repro steps of this issue into the description.
> Using MergeJoin and using filters does not work
> -----------------------------------------------
>
> Key: HIVE-27088
> URL: https://issues.apache.org/jira/browse/HIVE-27088
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Reporter: Ryu Kobayashi
> Assignee: Ryu Kobayashi
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> When hive.merge.nway.joins is set to `true` and JOIN is performed with INNER and OUTER and a filter exists, normal results cannot be obtained.
> For example:
> {code:java}
> FROM a
> INNER JOIN b
> ON a.id = b.id
> AND (a.code = 1 or a.code = 2)
> LEFT OUTER JOIN c
> ON a.id = c.id{code}
> I think this is also related to the next ticket: https://issues.apache.org/jira/browse/HIVE-21322
--
This message was sent by Atlassian Jira
(v8.20.10#820010)