v.19.11Improvement

Update Default Value of Max_ast_elements Parameter #5933 (artem Konovalov)

Update default value of max_ast_elements parameter #5933 (Artem Konovalov)
Updated the default value of the max_ast_elements parameter in ClickHouse.

Why it matters

The change adjusts the default limit on the number of AST (Abstract Syntax Tree) elements, which controls query parsing complexity. This update helps prevent issues related to overly large queries and optimizes resource usage.

How to use it

Users do not need to take explicit action, as the new default value applies automatically. To customize, set the max_ast_elements parameter in the server configuration or query settings.