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

snowflake.snowpark.functions.array_flatten

snowflake.snowpark.functions.array_flatten(array: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.22.1/src/snowflake/snowpark/functions.py#L3938-L3948)

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

Language: English