snowflake.snowpark.functions.array_min¶
- snowflake.snowpark.functions.array_min(array: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L3831-L3860)¶
Returns smallest defined non-NULL element in the input array. If the input array is empty, or there is no defined element in the input array, then the function returns NULL.
- Parameters:
array – the input array
- Returns:
a VARIANT containing the smallest defined element in the array, or NULL
- Examples::
- Behavior with SQL nulls:
- Behavior with JSON nulls: