Skip to content

DeltaMergeAction

DeltaMergeAction is a UnaryExpression (Spark SQL) that represents a single action in MERGE command.

DeltaMergeIntoClause

DeltaMergeActions are returned when DeltaMergeIntoClause is requested to resolvedActions (for PreprocessTableMerge and MergeIntoCommand).

Unevaluable

DeltaMergeAction is a Unevaluable expression that is resolved when DeltaMergeInto utility is used to resolveReferencesAndSchema.

Creating Instance

DeltaMergeAction takes the following to be created:

  • Target Column Names (Seq[String])
  • Expression
  • targetColNameResolved flag (default: false)

DeltaMergeAction is created when: