Expand description
Function module contains typing and signature for built-in and user defined functions.
Structs§
AccumulatorArgs
contains information about how an aggregate function was called, including the types of its arguments and any optional ordering expressions.- Arguments passed to user-defined window function
- Arguments passed to created user-defined window function state during physical execution.
StateFieldsArgs
contains information about the fields that an aggregate function’s accumulator should have. Used forAggregateUDFImpl::state_fields
.- Metadata for defining the result field from evaluating a user-defined window function.
Enums§
Type Aliases§
- Factory that returns an accumulator for the given aggregate function.
- crate::udaf::AggregateUDFImpl::simplify simplifier closure A closure with two arguments:
- Factory that creates a PartitionEvaluator for the given window function
- Factory that returns the functions’s return type given the input argument types
- Scalar function
- Factory that returns the types used by an aggregator to serialize its state, given its return datatype.
- crate::udwf::WindowUDFImpl::simplify simplifier closure A closure with two arguments: