v.22.9Improvement
Support SETTINGS in DELETE query
SupportSETTINGSinDELETE ...query. #41533 (Kseniia Sumarokova).
Why it matters
This feature allows users to specify query-level settings directly withinDELETE statements, enabling more granular control over query execution behavior and performance tuning on delete operations.How to use it
Add theSETTINGS clause at the end of a DELETE query to specify one or more settings. For example:DELETE FROM table_name WHERE condition SETTINGS max_threads = 4, readonly = 0