[
https://issues.apache.org/jira/browse/HIVE-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461621#comment-13461621
]
Phabricator commented on HIVE-3315:
-----------------------------------
navis has commented on the revision "HIVE-3315 [jira] Propagate filers on inner
join condition transitively".
This is a little old issue and I've forgot what was this for. I've taken
sometime for remind.
I agree on what you said generally (too complex) and re-implemented as you
said, except filter propagation of outer joins. For inner/semi join, filters
can be propagated freely(L to R and R to L). But for left-outer join, could it
be propagated in L to R only? (R to L for RO)
I'm still cannot sure of this. I'll update after full test.
REVISION DETAIL
https://reviews.facebook.net/D4497
To: JIRA, navis
Cc: njain
> Propagates filters which are on the join condition transitively
> ----------------------------------------------------------------
>
> Key: HIVE-3315
> URL: https://issues.apache.org/jira/browse/HIVE-3315
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Affects Versions: 0.10.0
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-3315.1.patch.txt, HIVE-3315.2.patch.txt,
> HIVE-3315.3.patch.txt
>
>
> explain select src1.key from src src1 join src src2 on src1.key=src2.key and
> src1.key < 100;
> In this case, filter on join condition src1.key < 100 can be propagated
> transitively to src2 by src2.key < 100.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira