pub fn explain_logical(plan: &GraphPlan) -> Result<String, GfError>Expand description
Render a GraphPlan’s optimised DataFusion LogicalPlan as indented
text (with per-node schemas) for the explain LogicalPlan stage.
Lowers in exploratory mode (no ontology). Falls back to the
pre-optimisation plan when the analyzer/optimizer rejects it — graph-native
Extension stub nodes carry no
optimiser semantics yet, and $param placeholders cannot be type-coerced
until execution time. In both cases the un-optimised plan is still valid,
inspectable output.
§Errors
Returns GfError if the plan cannot be lowered at all.