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

Method udwf

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

Source from the content-addressed store, hash-verified

201 }
202
203 fn udwf(&self, name: &str) -> Result<Arc<WindowUDF>> {
204 let result = self.window_functions.get(name);
205
206 result.cloned().ok_or_else(|| {
207 internal_datafusion_err!(
208 "There is no UDWF named \"{name}\" in the TaskContext"
209 )
210 })
211 }
212 fn register_udaf(
213 &mut self,
214 udaf: Arc<AggregateUDF>,

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
clonedMethod · 0.45

Tested by

no test coverage detected