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

Method higher_order_function

datafusion/execution/src/task.rs:185–193  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

183 }
184
185 fn higher_order_function(&self, name: &str) -> Result<Arc<HigherOrderUDF>> {
186 let result = self.higher_order_functions.get(name);
187
188 result.cloned().ok_or_else(|| {
189 plan_datafusion_err!(
190 "There is no higher-order function named \"{name}\" in the TaskContext"
191 )
192 })
193 }
194
195 fn udaf(&self, name: &str) -> Result<Arc<AggregateUDF>> {
196 let result = self.aggregate_functions.get(name);

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
clonedMethod · 0.45

Tested by

no test coverage detected