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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: