Skip to main content

AggregateFunctionSimplification

Type Alias AggregateFunctionSimplification 

Source
pub type AggregateFunctionSimplification = Box<dyn Fn(AggregateFunction, &SimplifyContext) -> Result<Expr>>;
Expand description

Type alias for crate::udaf::AggregateUDFImpl::simplify.

This closure is invoked with:

It returns a simplified Expr or an error.

Aliased Typeยง

pub struct AggregateFunctionSimplification(/* private fields */);