snowflake.snowpark.functions.array_position¶
- snowflake.snowpark.functions.array_position(variant: ColumnOrName, array: ColumnOrName) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L3620-L3629)¶
Returns the index of the first occurrence of an element in an ARRAY.
- Parameters:
variant – Column containing the VARIANT value that you want to find. The function searches for the first occurrence of this value in the array.
array – Column containing the ARRAY to be searched.