Botong Huang created CALCITE-3961:
-------------------------------------
Summary: 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
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)