datafusion_expr::function

Type Alias 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:

Cclosure returns simplified Expr or an error.

Aliased Type§

struct AggregateFunctionSimplification(/* private fields */);