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>)
| 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 | /// |
nothing calls this directly
no test coverage detected