Maryann Xue created PHOENIX-3309: ------------------------------------ Summary: Divide query planning into multiple stages Key: PHOENIX-3309 URL: https://issues.apache.org/jira/browse/PHOENIX-3309 Project: Phoenix Issue Type: Task Reporter: Maryann Xue Assignee: Maryann Xue
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)