mz_transform::analysis::explain

Function annotate_plan

Source
pub fn annotate_plan<'a>(
    plan: &'a MirRelationExpr,
    context: &'a ExplainContext<'_>,
) -> Result<AnnotatedPlan<'a, MirRelationExpr>, RecursionLimitError>
Expand description

Produce an AnnotatedPlan wrapping the given MirRelationExpr along with Analyses derived from the given context configuration.