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

Add clear() to RelOptPlanner. PlannerImpl.transform() call clear().

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Hi Julian,

      This is the code I modified in my local branch, which will clear the internal status of RelOptPlanner in the PlannerImpl.transform().

      The reason for adding clear() is because we want to call transform() multiple times, and RelOptPlanner would hit problem during the second call of transform(), because it still has the status from the first call of transform().

      Please take a look and see if this is the right fix to address the issue. Thanks!

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/pull/162
      Created by: jinfengni
      Labels:
      Created at: Thu Feb 27 03:02:41 CET 2014
      State: closed

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              github-import GitHub Import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: