You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2023/04/28 14:42:00 UTC

[jira] [Updated] (CALCITE-5679) HepPlanner#buildFinalPlan: do not clear metadata cache if RelNode has not changed

     [ 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)