snowflake.snowpark.WhenNotMatchedClause¶
- class snowflake.snowpark.WhenNotMatchedClause(condition: Optional[Column] = None)[source]¶
Bases:
objectA not-matched clause for the
Table.merge()action. It matches all remaining rows in the targetTablethat do not satisfyjoin_exprbut satisfycondition, if it is provided. You can usefunctions.when_not_matched()to instantiate this class.- Parameters:
condition – An optional
Columnobject representing the specified condition.
Methods
insert(assignments)Defines an insert action for the not-matched clause and returns an updated
WhenNotMatchedClausewith the new insert action added.