[
https://issues.apache.org/jira/browse/CALCITE-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Ozerov closed CALCITE-4650.
------------------------------------
Fix Version/s: (was: 1.28.0)
Resolution: Cannot Reproduce
Closing, see the motivation in
https://github.com/apache/calcite/pull/2438#issuecomment-883884868
> TopDownRuleDriver.DeriveTrait.derive produces wrong AssertionError when
> registering new nodes
> ---------------------------------------------------------------------------------------------
>
> Key: CALCITE-4650
> URL: https://issues.apache.org/jira/browse/CALCITE-4650
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.27.0
> Reporter: Vladimir Ozerov
> Assignee: Vladimir Ozerov
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> {{TopDownRuleDriver.DeriveTrait.derive}} asserts that a derived node belongs
> to the same {{RelSet}} as the original node.
> If the original node {{N1}} refers to set {{S1}}, the derived node {{N2}}
> might be registered in the set {{S2}}, if {{S1}} was merged to {{S2}} between
> the registration of {{N1}} and derivation of {{N2}}.
> Currently, we compare the original set of the original node {{N1}} with the
> canonical set of the derived node {{N2}}. This leads to false assertions.
> Dicussion:
> https://lists.apache.org/thread.html/rd26b7a0f55906cebf5abcaf349ab2bec414e164fa4d9f63789bf34c8%40%3Cdev.calcite.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)