Skip to main content

explain_logical_with_catalog

Function explain_logical_with_catalog 

Source
pub fn explain_logical_with_catalog(
    plan: &GraphPlan,
    catalog: Option<&GraphCatalog>,
    ontology: Option<&OntologyHandle>,
) -> Result<String, GfError>
Expand description

Like explain_logical_with but also threads a GraphCatalog so property accesses (e.g. n.name) resolve to their column names via the catalog’s PropId → name map instead of falling back to prop_<id> placeholders. Used by the engine facade’s explain, which lowers against the instance’s runtime catalog.

§Errors

Returns GfError if the plan cannot be lowered.