Skip to content

DeltaMergeIntoClause

DeltaMergeIntoClause is an extension of the Expression (Spark SQL) abstraction for WHEN clauses.

Contract

Actions

actions: Seq[Expression]

Condition

condition: Option[Expression]

Implementations

Sealed Trait

DeltaMergeIntoClause is a Scala sealed trait which means that all of the implementations are in the same compilation unit (a single file).

Verifing Actions

verifyActions(): Unit

verifyActions goes over the actions and makes sure that they are either UnresolvedStars (Spark SQL) or DeltaMergeActions.

For unsupported actions, verifyActions throws an IllegalArgumentException:

Unexpected action expression [action] in [this]

verifyActions is used when:


Last update: 2021-05-28