array_min(input_array: array) -> variant

Return the minimum value in an array. Return null if the input array is null or empty.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col min_element:array_min(arr)

Create a new column with the minimal value from another column arr (an array column).