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)
RewriteMergeIntoTablelogical analysis rule is executed (andbuildWriteDeltaPlanfor SupportsDelta row-level operations)RewriteUpdateTablelogical analysis rule is executed (andbuildWriteDeltaPlanfor SupportsDelta row-level operations)
Query Planning¶
WriteDelta is planned to WriteDeltaExec physical operator by DataSourceV2Strategy execution planning strategy.