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 -
targetColNameResolvedflag (default:false)
DeltaMergeAction is created when:
DeltaMergeIntoClauseutility is used to toActionsDeltaMergeIntoutility is used to resolveReferencesAndSchemaPreprocessTableMergelogical resolution rule is executed