Skip to content

bigfunctions > max_value

max_value

Signature

max_value(arr)

Description

Return max value of array (inspired from sql-snippets repo)

Examples

select bigfunctions.eu.max_value([1, 4, 3])
select bigfunctions.us.max_value([1, 4, 3])
select bigfunctions.europe_west1.max_value([1, 4, 3])
+-------+
| value |
+-------+
| 4     |
+-------+