ARRAY_MIN
Returns the minimum value of the given input array.
Syntax
Arguments
X
X
Type: array
An array of any comparable value type.
Returns
Type: same as input
The minimum value of X
.
Examples
X | Output |
---|---|
| 1 |
| 1 |
| 0 |
|
|
| a |
|
|
| a |
| false |
Transformation job example
SQL
Query result
min_example1 | min_example2 |
---|---|
-3 |
|
Last updated