Failing SQL Feature:
When you add SETTINGS (docs) after a query, you tell ClickHouse to temporarily use different values for certain internal options. These options control things like max_threads, max_rows_to_read, etc.
Reproduce the issue with this query:
SELECT *
FROM events
SETTINGS max_threads = 1;
Error:
ParseException: Encountered: <S_IDENTIFIER> / "max_threads", at line 3, column 10,