You are viewing documentation about an older version (1.16.0). 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.16.0/src/snowflake/snowpark/functions.py#L3895-L3905)

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