Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0.0
-
None
-
None
Description
Introduce a stable structured plan representation that can be used by both Connect and Classic. This can be used by explain, queryExecution, or a lightweight version of QueryExecutionListener.
This plan representation should support the following things:
- (Parsed/Logical/Pysical)Plans
- Schema
- Name
- Children
- Expressions
- Name
- Children
- Subqueries
- Reuse of subqueries/plans.
- Metrics
- (optionally) Statistics
The plan representation must be serializable to and from proto.
For connect we may want to send it at the end of query execution. We do need to think about limits here.