title: “Update” weight: 4 type: docs aliases:
Now, only Spark SQL supports DELETE & UPDATE, you can take a look at [Spark Write]({{< ref “spark/sql-write” >}}).
Example:
DELETE FROM my_table WHERE currency = 'UNKNOWN';
Update append table has two modes:
'deletion-vectors.enabled' = 'true', the Deletion Vectors mode can be enabled. Only marks certain records of the corresponding file for deletion and writes the deletion file, without rewriting the entire file.