You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2019/09/24 07:01:00 UTC

[jira] [Resolved] (CALCITE-3239) Calc#accept(RexShuttle shuttle) does not update rowType

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

Haisheng Yuan resolved CALCITE-3239.
------------------------------------
    Fix Version/s: 1.22.0
       Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/be01394210102ea83dc83f95ce5a59c60525b8d3.

> Calc#accept(RexShuttle shuttle) does not update rowType
> -------------------------------------------------------
>
>                 Key: CALCITE-3239
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3239
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: jin xing
>            Assignee: jin xing
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.22.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> In current code, {{Calc#accept(RexShuttle shuttle)}} keep the original {{rowType}}, even when the expression list is modified by the shuttle. https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/core/Calc.java#L175 
> It might be wrong and a new {{rowType}} should be derived.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)