Mihai Budiu created CALCITE-6540: ------------------------------------ Summary: RelOptUtil.pushDownJoinConditions does not correctly adjust ASOF joins match conditions Key: CALCITE-6540 URL: https://issues.apache.org/jira/browse/CALCITE-6540 Project: Calcite Issue Type: Bug Components: core Affects Versions: 1.38.0 Reporter: Mihai Budiu Assignee: Mihai Budiu
ASOF join was introduced recently by CALCITE-6372 The implementation parallels the join implementation. However, the function RelOptUtil.pushDownJoinConditions may adjust the join condition. When that happens, the asof matchCondition may need to be adjusted too. This last adjustment is missing, which can cause the matchCondition to be wrong, because the offsets of the RexInputRef fields are not appropriately adjusted. -- This message was sent by Atlassian Jira (v8.20.10#820010)