You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "godfrey he (JIRA)" <ji...@apache.org> on 2019/07/03 07:40:00 UTC
[jira] [Created] (CALCITE-3171) RelOptUtil#pushDownJoinConditions
should handle SEMI/ANTI join specially about project shift mapping
godfrey he created CALCITE-3171:
-----------------------------------
Summary: RelOptUtil#pushDownJoinConditions should handle SEMI/ANTI join specially about project shift mapping
Key: CALCITE-3171
URL: https://issues.apache.org/jira/browse/CALCITE-3171
Project: Calcite
Issue Type: Bug
Components: core
Affects Versions: 1.19.0
Reporter: godfrey he
the following code in RelOptUtil#pushDownJoinConditions only does not consider SEMI/ANTI join
{code:java}
if (!extraLeftExprs.isEmpty() || !extraRightExprs.isEmpty()) {
Mappings.TargetMapping mapping =
Mappings.createShiftMapping(
leftCount + extraLeftExprs.size()
+ rightCount + extraRightExprs.size(),
0, 0, leftCount,
leftCount, leftCount + extraLeftExprs.size(), rightCount);
relBuilder.project(relBuilder.fields(mapping.inverse()));
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)