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

Method call

datafusion/expr/src/udaf.rs:158–167  ·  view source on GitHub ↗

Creates an [`Expr`] that calls the aggregate function. This utility allows using the UDAF without requiring access to the registry, such as with the DataFrame API.

(&self, args: Vec<Expr>)

Source from the content-addressed store, hash-verified

156 /// This utility allows using the UDAF without requiring access to
157 /// the registry, such as with the DataFrame API.
158 pub fn call(&self, args: Vec<Expr>) -> Expr {
159 Expr::AggregateFunction(AggregateFunction::new_udf(
160 Arc::new(self.clone()),
161 args,
162 false,
163 None,
164 vec![],
165 None,
166 ))
167 }
168
169 /// Returns this function's name
170 ///

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
AggregateFunctionClass · 0.70
cloneMethod · 0.45

Tested by

no test coverage detected