mz_sql::plan::statement::dml

Function plan_query

Source
pub fn plan_query(
    scx: &StatementContext<'_>,
    query: Query<Aug>,
    params: &Params,
    lifetime: QueryLifetime,
) -> Result<PlannedRootQuery<MirRelationExpr>, PlanError>
👎Deprecated: Use query::plan_root_query and use HirRelationExpr in ~Plan structs.
Expand description

Plans and decorrelates a Query. Like query::plan_root_query, but returns an MirRelationExpr, which cannot include correlated expressions.