snowflake.snowpark.functions.when_not_matched¶
- snowflake.snowpark.functions.when_not_matched(condition: Optional[Column] = None) WhenNotMatchedClause[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.25.0/snowpark-python/src/snowflake/snowpark/functions.py#L7311-L7335)¶
Specifies a not-matched clause for the
Table.mergeaction. SeeWhenNotMatchedClausefor details.Convenience function to create a new WhenNotMatchedClause instance which is required together with an action when merging a Snowpark table with a Snowpark DataFrame (see snowflake.snowpark.Table.merge for more details).
Example: