[
https://issues.apache.org/jira/browse/CALCITE-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haisheng Yuan updated CALCITE-3961:
-----------------------------------
Fix Version/s: 1.23.0
> VolcanoPlanner.prunedNodes information is lost when duplicate relNode is
> discarded
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-3961
> URL: https://issues.apache.org/jira/browse/CALCITE-3961
> Project: Calcite
> Issue Type: Bug
> Reporter: Botong Huang
> Priority: Major
> Fix For: 1.23.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> VolcanoPlanner.prunedNodes stores the list of relNodes that are marked
> useless. Whenever the planner see two identical relNode (e.g. when Relsets
> are merged), one of them are discarded. However, when the preserved node is
> not in the pruned list while the discarded one is, this pruned information is
> lost. In general, we should preserve this info whenever duplicate relNodes
> are discarded.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)