Julian Hyde created OPTIQ-405:
---------------------------------

             Summary: Combine RelOptCluster, RelOptQuery into RelOptPlanner
                 Key: OPTIQ-405
                 URL: https://issues.apache.org/jira/browse/OPTIQ-405
             Project: Optiq
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to