DeltaMergeIntoMatchedDeleteClause — WHEN MATCHED DELETE Clause¶
DeltaMergeIntoMatchedDeleteClause is a DeltaMergeIntoMatchedClause that represents WHEN MATCHED DELETE clauses in the following:
DeleteActionmatched actions inMergeIntoTable(Spark SQL) logical command- DeltaMergeMatchedActionBuilder.delete operator
Creating Instance¶
DeltaMergeIntoMatchedDeleteClause takes the following to be created:
- (optional) Condition
Expression(Spark SQL)
DeltaMergeIntoMatchedDeleteClause is created when:
DeltaMergeMatchedActionBuilderis requested to delete- DeltaAnalysis logical resolution rule is executed (and resolves
MergeIntoTablelogical command withDeleteActionmatched actions) MergeIntoCommandBaseis requested to isOnlyOneUnconditionalDelete
Actions¶
DeltaMergeIntoClause
actions: Seq[Expression]
actions is part of the DeltaMergeIntoClause abstraction.
actions is always an empty collection.
Clause Type¶
clauseType is the following text:
Delete