DeltaMergeIntoMatchedDeleteClause — WHEN MATCHED DELETE Clause¶
DeltaMergeIntoMatchedDeleteClause
is a DeltaMergeIntoMatchedClause that represents WHEN MATCHED DELETE
clauses in the following:
DeleteAction
matched 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:
DeltaMergeMatchedActionBuilder
is requested to delete- DeltaAnalysis logical resolution rule is executed (and resolves
MergeIntoTable
logical command withDeleteAction
matched actions) MergeIntoCommandBase
is 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