MergeIntoTable Logical Command¶
MergeIntoTable takes the following to be created:
- Target Table (LogicalPlan)
- Source Table or Subquery (LogicalPlan)
- Merge Condition (Expression)
MergeIntoTable is created when:
AstBuilderis requested to parse MERGE INTO SQL statement
MergeIntoTable command is not supported in Spark SQL and BasicOperators execution planning strategy throws an
UnsupportedOperationException when finds any:
MERGE INTO TABLE is not supported temporarily.
MergeIntoTable is to allow custom data sources to support
MERGE SQL statement (and so does Delta Lake).