[
https://issues.apache.org/jira/browse/CALCITE-6540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-6540.
----------------------------------
Fix Version/s: 1.38.0
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/4252e0ca2a7c57edf5ea8f13d4cf70fe0c2913c7
Thank you for the review, [~caicancai]
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.38.0
>
>
> 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)