ReplaceData Logical Operator¶
ReplaceData
is a RowLevelWrite logical operator.
ReplaceData
represents DataSourceV2Relation with SupportsRowLevelOperations in DeleteFromTable operators.
Creating Instance¶
ReplaceData
takes the following to be created:
- NamedRelation of the target table
- Condition Expression
- Query LogicalPlan
- NamedRelation of the original table
- Optional Write (default: undefined)
ReplaceData
is created when:
- RewriteDeleteFromTable analysis rule is executed (to buildReplaceDataPlan)