DeleteFromTable Logical Command¶
DeleteFromTable
is a Command that represents DELETE FROM SQL statement.
DeleteFromTable
is a SupportsSubquery.
Creating Instance¶
DeleteFromTable
takes the following to be created:
- LogicalPlan of the table
- Condition Expression (optional)
DeleteFromTable
is created when:
AstBuilder
is requested to parse DELETE FROM SQL statement
Execution Planning¶
DeleteFromTable
command is resolved to DeleteFromTableExec physical operator by DataSourceV2Strategy execution planning strategy.
It is only supported for DeleteFromTable
command over DataSourceV2ScanRelation relations (v2 tables).