Type Alias datafusion_expr::function::AggregateFunctionSimplification
source · pub type AggregateFunctionSimplification = Box<dyn Fn(AggregateFunction, &dyn SimplifyInfo) -> Result<Expr>>;
Expand description
crate::udaf::AggregateUDFImpl::simplify simplifier closure A closure with two arguments:
- ‘aggregate_function’: crate::expr::AggregateFunction for which simplified has been invoked
- ‘info’: crate::simplify::SimplifyInfo
closure returns simplified Expr or an error.
Aliased Type§
struct AggregateFunctionSimplification(/* private fields */);