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

snowflake.snowpark.functions.array_flatten

snowflake.snowpark.functions.array_flatten(array: Union[Column, str]) Column[source]

Returns a single array from an array or arrays. If the array is nested more than two levels deep, then only a single level of nesting is removed.

Must enable parameter ENABLE_ARRAY_FLATTEN_FUNCTION in your session.

Parameters:

array – the input array