ClickHouse/tests/queries/0_stateless/02388_analyzer_recursive_lambda.sql
2024-05-30 19:41:08 +00:00

6 lines
323 B
SQL

SET allow_experimental_analyzer = 1;
WITH x -> plus(lambda(1), x) AS lambda SELECT lambda(1048576); -- { serverError UNSUPPORTED_METHOD };
WITH lambda(lambda(plus(x, x, -1)), tuple(x), x + 2147483646) AS lambda, x -> plus(lambda(1), x, 2) AS lambda SELECT 1048576, lambda(1048576); -- { serverError UNSUPPORTED_METHOD };