Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Atualizado 10/02/2025
Send us feedback
array_min
Applies to: Databricks SQL Databricks Runtime
Returns the minimum value in array.
array
array_min(array)
array: Any ARRAY with elements for which order is supported.
The result matches the type of the elements. NULL elements are skipped. If array is empty, or contains only NULL elements, NULL is returned.
> SELECT array_min(array(1, 20, NULL, 3)); 1
array_max function