pf_minmax Interface

public interface pf_minmax

The smallest and largest value in values, skipping nulls and NaNs.

Takes no descending/nulls_first: a minimum and a maximum are absolute, and reversing the order would only exchange the two answers.

Aborts when every value is null or NaN -- there is nothing to return, and no sentinel exists across all nine types. This matches pf_nth_quantile's decision for the same degenerate case; guard with count(is_valid) where that can happen.

Use pf_argminmax when the positions matter rather than the values.


Module Procedures

private interface minmax_i32()

Arguments

None

private interface minmax_i64()

Arguments

None

private interface minmax_f32()

Arguments

None

private interface minmax_f64()

Arguments

None

private interface minmax_chr()

Arguments

None

private interface minmax_date()

Arguments

None

private interface minmax_time()

Arguments

None

private interface minmax_ts()

Arguments

None

private interface minmax_strcol()

Arguments

None