You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jesus Camacho Rodriguez (Jira)" <ji...@apache.org> on 2020/04/10 01:10:00 UTC
[jira] [Resolved] (CALCITE-3908) JoinCommuteRule should update all
input references in join condition
[ https://issues.apache.org/jira/browse/CALCITE-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez resolved CALCITE-3908.
----------------------------------------------
Fix Version/s: 1.23.0
Resolution: Fixed
Fixed in [16c9c36f319b06ebcf1338f0e40e9de2ee912adf|https://github.com/apache/calcite/commit/16c9c36f319b06ebcf1338f0e40e9de2ee912adf].
> JoinCommuteRule should update all input references in join condition
> --------------------------------------------------------------------
>
> Key: CALCITE-3908
> URL: https://issues.apache.org/jira/browse/CALCITE-3908
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.23.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{JoinCommuteRule}} swaps the inputs of a join. It relies on an internal class {{VariableReplacer}} to update the references in the join condition. However, this class does not extend {{RexShuttle}} and ends up ignoring some of the references, e.g., those in {{RexFieldAccess}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)