Expand description
Defines Avg & Mean aggregate & accumulators
Structsยง
- Avg
- AvgAccumulator
- An accumulator to compute the average
- AvgGroups
Accumulator ๐ - An accumulator to compute the average of
[PrimitiveArray<T>]. Stores values as native types, and does overflow checking - Decimal
AvgAccumulator ๐ - An accumulator to compute the average for decimals
- Duration
AvgAccumulator ๐ - An accumulator to compute the average for duration values
Functionsยง
- avg
- Returns the avg of a group of values.
- avg_
distinct - avg_
udaf - AggregateFunction that returns a
AggregateUDFforAvg