You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/08/20 20:21:00 UTC

[jira] [Updated] (CALCITE-6540) RelOptUtil.pushDownJoinConditions does not correctly adjust ASOF joins match conditions

     [ https://issues.apache.org/jira/browse/CALCITE-6540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-6540:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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)