[
https://issues.apache.org/jira/browse/HIVE-27088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryu Kobayashi updated HIVE-27088:
---------------------------------
Description:
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
was: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.
> 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
> Priority: Major
>
> 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)