[
https://issues.apache.org/jira/browse/CALCITE-5679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruben Q L updated CALCITE-5679:
-------------------------------
Summary: HepPlanner#buildFinalPlan: do not clear metadata cache if RelNode
has not changed (was: HepPlanner#buildFinalplan: do not clear metadata cache
if RelNode has not changed)
> HepPlanner#buildFinalPlan: do not clear metadata cache if RelNode has not
> changed
> ---------------------------------------------------------------------------------
>
> Key: CALCITE-5679
> URL: https://issues.apache.org/jira/browse/CALCITE-5679
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Ruben Q L
> Assignee: Ruben Q L
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.35.0
>
>
> Minor optimization:
> {{HepPlanner#buildFinalplan}} clears the metadata cache info of the impacted
> RelNode after replacing its inputs, but in the cases where the RelNode does
> not change (e.g. when it has no inputs) this clear cache should not be
> necessary (unless I'm missing something).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)