array_min

Description

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

Return type

variable

Domain

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

Categories

Usage

array_min( input_array )

Argument

Type

Required

Multiple

Constant

input_array

array

Required

Only one

Variable

Examples

make_col min_element:array_min(arr)

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