WriteDelta Logical Operator¶
WriteDelta
is a RowLevelWrite logical operator.
Creating Instance¶
WriteDelta
takes the following to be created:
- Table (NamedRelation)
- Condition (Expression)
- Query (LogicalPlan)
- Original Table (NamedRelation)
-
WriteDeltaProjections
-
DeltaWrite
WriteDelta
is created when:
- RewriteDeleteFromTable logical analysis rule is executed (and requested to buildWriteDeltaPlan for SupportsDelta row-level operations)
RewriteMergeIntoTable
logical analysis rule is executed (andbuildWriteDeltaPlan
for SupportsDelta row-level operations)RewriteUpdateTable
logical analysis rule is executed (andbuildWriteDeltaPlan
for SupportsDelta row-level operations)
Query Planning¶
WriteDelta
is planned to WriteDeltaExec physical operator by DataSourceV2Strategy execution planning strategy.