v.21.1Improvements
Fix SETTINGS Clause Parsing in INSERT ... SELECT Query
Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query. #17414 (Azat Khuzhin).Why it matters
The fix solves issues related to incorrect parsing of theSETTINGS clause when used in INSERT ... SELECT queries, allowing users to reliably customize query settings for these statements and improve query execution control.How to use it
Users can now append theSETTINGS clause directly to INSERT ... SELECT queries as follows:INSERT INTO table_name SELECT ... FROM ... SETTINGS setting_name = value;