Module median

Module median 

Source

Structsยง

DistinctMedianAccumulator ๐Ÿ”’
The distinct median accumulator accumulates the raw input values as ScalarValues
Median
MEDIAN aggregate expression. If using the non-distinct variation, then this uses a lot of memory because all values need to be stored in memory before a result can be computed. If an approximation is sufficient then APPROX_MEDIAN provides a much more efficient solution.
MedianAccumulator ๐Ÿ”’
The median accumulator accumulates the raw input values as ScalarValues
MedianGroupsAccumulator ๐Ÿ”’
The median groups accumulator accumulates the raw input values

Functionsยง

calculate_median ๐Ÿ”’
median
Computes the median of a set of numbers
median_udaf
AggregateFunction that returns a AggregateUDF for Median
slice_max ๐Ÿ”’
Get maximum entry in the slice,