Skip to content

DeltaMergeIntoMatchedUpdateClause — WHEN MATCHED THEN UPDATE Clause

DeltaMergeIntoMatchedUpdateClause is a DeltaMergeIntoMatchedClause that represents WHEN MATCHED THEN UPDATE clauses in the following:

Creating Instance

DeltaMergeIntoMatchedUpdateClause takes the following to be created:

DeltaMergeIntoMatchedUpdateClause is created when:

  • DeltaMergeMatchedActionBuilder is requested to updateAll and addUpdateClause
  • DeltaAnalysis logical resolution rule is executed (and resolves MergeIntoTable logical command with UpdateAction and UpdateStarAction matched 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

DeltaMergeIntoClause
clauseType: String

clauseType is part of the DeltaMergeIntoClause abstraction.

clauseType is the following text:

Update