Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
We're going to have to up our SQL interpretation game in order to support more complex query plans that include joins.
This ticket adds an approach that translates the Calcite parse tree into a tree of "Implementor" nodes. The Implementor.getPhysicalPlan() method can then be called to traverse the Implementor tree and return a Streaming Expression which is the executable physical plan.
The approach allows for implementor nodes of different types to handle Join logic. An example JoinImplementor is included in the PR which holds a left and right Implementor and returns an InnerJoinStream from the getPhysicalPlan method.
Attachments
Attachments
Issue Links
- is required by
-
SOLR-16239 Add Join query plans to Solr SQL
- Open
- links to