RewriteDeleteFromTable Analysis Rule¶
Executing Rule¶
apply(
plan: LogicalPlan): LogicalPlan
apply
is part of the Rule abstraction.
apply
rewrites the table in DeleteFromTable logical operators (in the given LogicalPlan):
-
For DataSourceV2Relations with TruncatableTable and
TrueLiteral
condition, skips rewriting (leaves them untouched). -
For DataSourceV2Relations with SupportsRowLevelOperations...FIXME
-
For DataSourceV2Relations with SupportsDelete...FIXME
buildReplaceDataPlan¶
buildReplaceDataPlan(
relation: DataSourceV2Relation,
operationTable: RowLevelOperationTable,
cond: Expression): ReplaceData
buildReplaceDataPlan
...FIXME