Anurag Mantripragada created SPARK-58008:
--------------------------------------------
Summary: Support dynamic table options for DELETE
Key: SPARK-58008
URL: https://issues.apache.org/jira/browse/SPARK-58008
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 5.0.0
Reporter: Anurag Mantripragada
Spark supports a per-statement `WITH (key = value)` options clause on `SELECT`
(SPARK-36680), `INSERT` (SPARK-49098), and `UPDATE` (SPARK-57681). These
options are passed to DataSource V2 connectors so a single statement can tune
how the source reads or writes.
`DELETE` should support the same `WITH (...)` clause:
```sql
DELETE FROM target_table WITH (`write.split-size` = 10) AS t
WHERE t.id < 100
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]