ClickHouse/tests/queries/0_stateless/02896_cyclic_aliases_crash.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
263 B
MySQL
Raw Normal View History

SET max_ast_depth = 10_000_000;
SELECT
val,
val + 1 as prev,
val + prev as val
FROM ( SELECT 1 as val )
2023-10-16 10:33:04 +00:00
; -- { serverError CYCLIC_ALIASES, TOO_DEEP_RECURSION }
SELECT
val,
val + 1 as prev,
val + prev as val2
FROM ( SELECT 1 as val )
;