Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

max_ast_* session settings

These settings are available in system.settings and are autogenerated from source.

max_ast_depth

Type
UInt64
Default
1000

The maximum nesting depth of a query syntactic tree. If exceeded, an exception is thrown.

max_ast_elements

Type
UInt64
Default
50000

The maximum number of elements in a query syntactic tree. If exceeded, an exception is thrown.

Navigation