Function mz_sql::plan::query::plan_root_query
source ยท pub fn plan_root_query(
scx: &StatementContext<'_>,
query: Query<Aug>,
lifetime: QueryLifetime,
) -> Result<PlannedRootQuery<HirRelationExpr>, PlanError>
Expand description
Plans a top-level query, returning the HirRelationExpr
describing the query
plan, the RelationDesc
describing the shape of the result set, a
RowSetFinishing
describing post-processing that must occur before results
are sent to the client, and the types of the parameters in the query, if any
were present.
Note that the returned RelationDesc
describes the expression after
applying the returned RowSetFinishing
.