Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
We should initialize the cluster (RelOptCluster) before planner (RelOptPlanner, or a sub-class such as VolcanoPlanner or HepPlanner). Currently the planner contains important information such as executor (RelOptPlanner.Executor), the set of active traits (epitomized by the RelOptPlanner.emptyTraitSet method) and the metadata providers, and the cluster contains a link to a planner, so the planner has to be created first.
This makes it difficult to use a succession of planners for query planning. Fixing this issue is a first step towards CALCITE-1525.
Attachments
Issue Links
- is depended upon by
-
CALCITE-1525 Use "Planner" to handle query preparation process in CalcitePrepareImpl
- Open
- is related to
-
CALCITE-405 Combine RelOptCluster, RelOptQuery into RelOptPlanner
- Open
-
CALCITE-5401 Rule fired by HepPlanner can return Volcano's RelSubset
- Closed
-
CALCITE-473 Create a wrapper Program to support the ability to enable/disable rules
- Open
-
CALCITE-1499 Exclude VolcanoPlanner's "originalRoot" from default planning process
- Open
- relates to
-
CALCITE-1774 Allow rules to be registered during planning process
- Open
-
CALCITE-1653 Pass an expression executor to RexUtil.simplify for constant reduction
- Closed
-
CALCITE-1996 Executing RelBuilder.values with a projection sometimes fails
- Closed
-
CALCITE-1681 Provide a way to copy RelNode trees between clusters
- Open