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

Combine RelOptCluster, RelOptQuery into RelOptPlanner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      A RelNode belongs to a RelOptCluster, a RelOptCluster belongs to a RelOptQuery, and a RelOptQuery belongs to a RelOptPlanner. There is very little information in RelOptCluster and RelOptQuery that is not in RelOptPlanner, so they probably should be combined into it.

      Also, the trait set of a RelOptPlanner is constant throughout its existence. If you want to switch to a new set of traits, you have to re-create all RelNodes. We should re-consider this aspect of the life-cycle.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: