User-defined aggregate functions
Vec<T>
as an
argument, where T
is any valid SQL data type. Note
that all arguments must be Vec
—you can’t mix-and-match vector and scalar
parameters.
Option
(e.g., Vec<Option<i64>>
), the UDAF will
be invoked with all inputs, including NULL
s. Otherwise, only non-null
arguments will be passed down to the UDAF. Unlike UDFs, UDAFs will always be
invoked, although possibly with empty input vectors.