mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
18 lines
263 B
SQL
18 lines
263 B
SQL
|
|
SET max_ast_depth = 10_000_000;
|
|
|
|
SELECT
|
|
val,
|
|
val + 1 as prev,
|
|
val + prev as val
|
|
FROM ( SELECT 1 as val )
|
|
; -- { serverError CYCLIC_ALIASES, TOO_DEEP_RECURSION }
|
|
|
|
|
|
SELECT
|
|
val,
|
|
val + 1 as prev,
|
|
val + prev as val2
|
|
FROM ( SELECT 1 as val )
|
|
;
|