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

Ruben Quesada Lopez resolved CALCITE-3209.
------------------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/9ba140ef66ad1e048789532211ddf8b3ca1cf8ec
Thanks for the PR [~jinxing6...@126.com]!

> When calling MutableMultiRel::setInput, exception thrown
> --------------------------------------------------------
>
>                 Key: CALCITE-3209
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3209
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: jin xing
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.21.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When digging code of materialization matching. I found the current 
> implementation of {{MutableMultiRel::}}{{inputs}} is by anĀ {{ImmutableList}}, 
> thus impossible to be changed by
>  
> [https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/mutable/MutableMultiRel.java#L42]
> {code:java}
>  @Override public void setInput(int ordinalInParent, MutableRel input)
> {code}
> Seems a mistake.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to