# Constant mz_expr::relation::RECURSION_LIMIT

source ยท `pub const RECURSION_LIMIT: usize = 2048;`

## Expand description

A recursion limit to be used for stack-safe traversals of `MirRelationExpr`

trees.

The recursion limit must be large enough to accommodate for the linear representation of some pathological but frequently occurring query fragments.

For example, in MIR we could have long chains of

- (1)
`Let`

bindings, - (2)
`CallBinary`

calls with associative functions such as`+`

Until we fix those, we need to stick with the larger recursion limit.