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

Method udf

datafusion/expr/src/registry.rs:215–220  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

213 }
214
215 fn udf(&self, name: &str) -> Result<Arc<ScalarUDF>> {
216 self.udfs
217 .get(name)
218 .cloned()
219 .ok_or_else(|| plan_datafusion_err!("Function {name} not found"))
220 }
221
222 fn higher_order_function(&self, name: &str) -> Result<Arc<HigherOrderUDF>> {
223 self.higher_order_functions

Callers 9

simple_udfFunction · 0.45
parse_exprFunction · 0.45
roundtrip_substrFunction · 0.45
from_nestedFunction · 0.45
from_scalar_functionFunction · 0.45
build_logb_exprMethod · 0.45

Calls 2

clonedMethod · 0.45
getMethod · 0.45

Tested by 3

roundtrip_substrFunction · 0.36