Module min_max

Module min_max 

Source
Expand description

Max and MaxAccumulator accumulator for the max function Min and MinAccumulator accumulator for the min function

Modulesยง

min_max_bytes ๐Ÿ”’
min_max_struct ๐Ÿ”’

Macrosยง

primitive_max_accumulator ๐Ÿ”’
Creates a PrimitiveGroupsAccumulator for computing MAX the specified ArrowPrimitiveType.
primitive_min_accumulator ๐Ÿ”’
Creates a PrimitiveGroupsAccumulator for computing MIN the specified ArrowPrimitiveType.

Structsยง

Max
MaxAccumulator
An accumulator to compute the maximum value
Min
MinAccumulator
An accumulator to compute the minimum value
MovingMax
Keep track of the maximum value in a sliding window.
MovingMin
Keep track of the minimum value in a sliding window.
SlidingMaxAccumulator
SlidingMinAccumulator

Traitsยง

FromColumnStatistics ๐Ÿ”’

Functionsยง

get_min_max_result_type ๐Ÿ”’
max
Returns the maximum of a group of values.
max_udaf
AggregateFunction that returns a AggregateUDF for Max
min
Returns the minimum of a group of values.
min_udaf
AggregateFunction that returns a AggregateUDF for Min