ARRAY_MAX
Returns the maximum 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 maximum value within X
.
Examples
X | Output |
---|---|
| 3 |
| 1 |
| 1 |
|
|
|
|
| c |
| z |
Transformation job example
SQL
Query result
max_example1 | max_example2 |
---|---|
4 | true |
Last updated