UpdateTable Logical Operator¶
UpdateTable is a Command that represents UPDATE SQL statement.
UpdateTable is a SupportsSubquery.
UpdateTable takes the following to be created:
- Table (LogicalPlan)
- Condition Expression (optional)
UpdateTable is created when:
AstBuilderis requested to parse UPDATE SQL statement
UpdateTable command is not supported in Spark SQL and BasicOperators execution planning strategy throws an
UnsupportedOperationException when finds any:
UPDATE TABLE is not supported temporarily.
UpdateTable is to allow custom data sources to support
UPDATE SQL statement (and so does Delta Lake).