Expand description
Planner for LogicalPlan to ExecutionPlan
StructsΒ§
- Default
Physical Planner - Default single node physical query planner that converts a
LogicalPlanto anExecutionPlansuitable for execution. - Execution
Plan πChild - Invariant
Checker π - Check
ExecutionPlaninvariants perInvariantLevel. - Logical
Node π - Optimization
Invariant πChecker
EnumsΒ§
- Children
Container π - To avoid needing to pass single child wrapped in a Vec for nodes with only one child.
- Node
State π - Plan
Async πExpr - Planned
Expr πResult
TraitsΒ§
- Extension
Planner - This trait exposes the ability to plan an
ExecutionPlanout of aLogicalPlan. - Physical
Planner - Physical query planner that converts a
LogicalPlanto anExecutionPlansuitable for execution.
FunctionsΒ§
- create_
aggregate_ expr_ and_ maybe_ filter - Create an aggregate expression from a logical expression or an alias
- create_
aggregate_ expr_ with_ name_ and_ maybe_ filter - Create an aggregate expression with a name from a logical expression
- create_
cube_ πphysical_ expr - Expand and align a CUBE expression. This is a special case of GROUPING SETS (see https://www.postgresql.org/docs/current/queries-table-expressions.html#QUERIES-GROUPING-SETS)
- create_
rollup_ πphysical_ expr - Expand and align a ROLLUP expression. This is a special case of GROUPING SETS (see https://www.postgresql.org/docs/current/queries-table-expressions.html#QUERIES-GROUPING-SETS)
- create_
window_ expr - Create a window expression from a logical expression or an alias
- create_
window_ expr_ with_ name - Create a window expression with a name from a logical expression
- get_
null_ πphysical_ expr_ pair - For a given logical expr, get a properly typed NULL ScalarValue physical expression
- get_
physical_ πexpr_ pair - is_
window_ frame_ bound_ valid - Check if window bounds are valid after schema information is available, and window_frame bounds are casted to the corresponding column type. queries like: OVER (ORDER BY a RANGES BETWEEN 3 PRECEDING AND 5 PRECEDING) OVER (ORDER BY a RANGES BETWEEN INTERVAL β3 DAYβ PRECEDING AND β5 DAYβ PRECEDING) are rejected
- merge_
grouping_ πset_ physical_ expr - Expand and align a GROUPING SET expression. (see https://www.postgresql.org/docs/current/queries-table-expressions.html#QUERIES-GROUPING-SETS)
- qualify_
join_ πschema_ sides - Qualifies the fields in a join schema with βleftβ and βrightβ qualifiers
without mutating the original schema. This function should only be used when
the join inputs have already been requalified earlier in
try_new_with_project_input. - tuple_
err π