Module nth_value

Source
Expand description

Defines NTH_VALUE aggregate expression which may specify ordering requirement that can evaluated at runtime during query execution

Structs§

NthValueAccumulator
NthValueAgg
Expression for a NTH_VALUE(... ORDER BY ..., ...) aggregation. In a multi partition setting, partial aggregations are computed for every partition, and then their results are merged.

Functions§

nth_value
Returns the nth value in a group of values.
nth_value_udaf
AggregateFunction that returns a AggregateUDF for NthValueAgg