DeltaMergeIntoMatchedUpdateClause — WHEN MATCHED THEN UPDATE Clause¶
DeltaMergeIntoMatchedUpdateClause is a DeltaMergeIntoMatchedClause that represents WHEN MATCHED THEN UPDATE clauses in the following:
UpdateActionandUpdateStarActionmatched actions inMergeIntoTable(Spark SQL) logical command- DeltaMergeMatchedActionBuilder.updateAll, DeltaMergeMatchedActionBuilder.update and DeltaMergeMatchedActionBuilder.updateExpr operators
Creating Instance¶
DeltaMergeIntoMatchedUpdateClause takes the following to be created:
DeltaMergeIntoMatchedUpdateClause is created when:
DeltaMergeMatchedActionBuilderis requested to updateAll and addUpdateClause- DeltaAnalysis logical resolution rule is executed (and resolves
MergeIntoTablelogical command withUpdateActionandUpdateStarActionmatched actions)
Actions¶
DeltaMergeIntoClause
actions: Seq[Expression]
actions is part of the DeltaMergeIntoClause abstraction.
DeltaMergeIntoMatchedUpdateClause is given Expressions (Spark SQL) for the actions when created.
Condition¶
DeltaMergeIntoClause
condition: Option[Expression]
condition is part of the DeltaMergeIntoClause abstraction.
DeltaMergeIntoMatchedUpdateClause can be given Expressions (Spark SQL) for the condition when created.
Clause Type¶
clauseType is the following text:
Update