creates a [`Expr`] that calls the window function with default values for `order_by`, `partition_by`, `window_frame`. See [`ExprFunctionExt`] for details on setting these values. This utility allows using a user defined window function without requiring access to the registry, such as with the DataFrame API. [`ExprFunctionExt`]: crate::expr_fn::ExprFunctionExt
(&self, args: Vec<Expr>)
| 133 | /// |
| 134 | /// [`ExprFunctionExt`]: crate::expr_fn::ExprFunctionExt |
| 135 | pub fn call(&self, args: Vec<Expr>) -> Expr { |
| 136 | let fun = crate::WindowFunctionDefinition::WindowUDF(Arc::new(self.clone())); |
| 137 | |
| 138 | Expr::from(WindowFunction::new(fun, args)) |
| 139 | } |
| 140 | |
| 141 | /// Returns this function's name |
| 142 | /// |