Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

max_parser_* session settings

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

max_parser_backtracks

Type
UInt64
Default
1000000
Version history
VersionDefault valueComment
24.31000000Limiting the complexity of parsing

Maximum parser backtracking (how many times it tries different alternatives in the recursive descend parsing process).

max_parser_depth

Type
UInt64
Default
1000

Limits maximum recursion depth in the recursive descent parser. Allows controlling the stack size.

Possible values:

  • Positive integer.
  • 0 — Recursion depth is unlimited.
Navigation