You are viewing documentation about an older version (1.2.0). View latest version

snowflake.snowpark.functions.array_size¶

snowflake.snowpark.functions.array_size(array: ColumnOrName) → Column[source]¶

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.