pub fn install(ctx: &SessionContext)Expand description
Install ddx on ctx: register the grad/jvp marker UDFs and the analyzer
rule that rewrites them away (Path B).
Both halves are required and neither is useful alone. The UDFs exist only so the marker calls parse and plan; the analyzer rule is what actually differentiates. Registering the UDFs without the rule would let a marker reach execution, where it deliberately errors.
let ctx = SessionContext::new();
ddx_datafusion::install(&ctx);