snowflake.snowpark.functions.object_insert¶
- snowflake.snowpark.functions.object_insert(obj: ColumnOrName, key: ColumnOrName, value: ColumnOrName, update_flag: ColumnOrName | None = None) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L3800-L3842)¶
Returns an object consisting of the input object with a new key-value pair inserted (or an existing key updated with a new value).
- Example::