DeltaMergeAction¶
DeltaMergeAction
is a UnaryExpression
(Spark SQL) that represents a single action in MERGE command.
DeltaMergeIntoClause¶
DeltaMergeAction
s 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:
DeltaMergeIntoClause
utility is used to toActionsDeltaMergeInto
utility is used to resolveReferencesAndSchemaPreprocessTableMerge
logical resolution rule is executed