Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Right now we do query planning all in one step, converting a Calcite logical Rel tree into a Phoenix physical Rel tree.
We'll have to divide this process into two or more stages. The basic two-stage model will be logical planning and physical planning, where general optimization rules and the conversion from Calcite logical algebra to Phoenix logical operators will take place in the logical planning stage, and Phoenix physical-operator-specific rules will be assigned to the physical planning stage.