pub type WindowFunctionSimplification = Box<dyn Fn(WindowFunction, &dyn SimplifyInfo) -> Result<Expr, DataFusionError>>;
Expand description
crate::udwf::WindowUDFImpl::simplify simplifier closure A closure with two arguments:
- ‘window_function’: crate::expr::WindowFunction for which simplified has been invoked
- ‘info’: crate::simplify::SimplifyInfo
Closure returns simplified Expr or an error.
Aliased Type§
struct WindowFunctionSimplification(/* private fields */);