snowflake.snowpark.functions.array_size¶
- snowflake.snowpark.functions.array_size(array: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.48.0/src/snowflake/snowpark/functions.py#L7368-L7387)¶
Returns the size of the input ARRAY.
If the specified column contains a VARIANT value that contains an ARRAY, the size of the ARRAY is returned; otherwise, NULL is returned if the value is not an ARRAY.
- Example::