v.20.11Improvement

Apply SETTINGS Clause Early to Enhance Query Modifications

Apply SETTINGS clause as early as possible. It allows to modify more settings in the query. This closes #3178. #16619 (alexey-milovidov).
The SETTINGS clause is now applied earlier in the query execution process.

Why it matters

This improvement allows users to modify more query settings effectively by applying the SETTINGS clause as early as possible, thereby increasing flexibility and control over query behavior.

How to use it

Use the SETTINGS clause in your queries as usual. Due to this update, the specified settings will take effect earlier during query processing, enabling modifications to a broader range of settings.