Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5679

HepPlanner#buildFinalPlan: do not clear metadata cache if RelNode has not changed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.35.0
    • core

    Description

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

      Attachments

        Issue Links

          Activity

            People

              rubenql Ruben Q L
              rubenql Ruben Q L
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: