MCPcopy Create free account
hub / github.com/apache/datafusion / plan_substring

Method plan_substring

datafusion/functions/src/unicode/planner.rs:37–44  ·  view source on GitHub ↗
(
        &self,
        args: Vec<Expr>,
    )

Source from the content-addressed store, hash-verified

35 }
36
37 fn plan_substring(
38 &self,
39 args: Vec<Expr>,
40 ) -> datafusion_common::Result<PlannerResult<Vec<Expr>>> {
41 Ok(PlannerResult::Planned(Expr::ScalarFunction(
42 ScalarFunction::new_udf(crate::unicode::substr(), args),
43 )))
44 }
45}

Callers

nothing calls this directly

Calls 2

ScalarFunctionClass · 0.85
substrFunction · 0.85

Tested by

no test coverage detected