[ https://issues.apache.org/jira/browse/CALCITE-5679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruben Q L resolved CALCITE-5679. -------------------------------- Resolution: Fixed Done via https://github.com/apache/calcite/commit/a833bd626c5e781ccc27bd6fab1c636a3b944907 Thanks [~jiajunbernoulli] and [~libenchao] for the review! > 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)