You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Botong Huang (Jira)" <ji...@apache.org> on 2020/04/27 03:46:00 UTC
[jira] [Created] (CALCITE-3961) VolcanoPlanner.prunedNodes
information is lost when duplicate relNode is discarded
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)