ClickHouse/tests/queries/0_stateless/02515_tuple_lambda_parsing.sql
Nikolay Degterinsky 29371745bd Fix lambdas parsing
2022-12-27 17:42:38 +00:00

8 lines
487 B
SQL

explain ast select tuple(a) -> f(a); -- { clientError SYNTAX_ERROR }
explain ast select tuple(a, b) -> f(a); -- { clientError SYNTAX_ERROR }
explain ast select (tuple(a)) -> f(a); -- { clientError SYNTAX_ERROR }
explain ast select (f(a)) -> f(a); -- { clientError SYNTAX_ERROR }
explain ast select (a::UInt64) -> f(a); -- { clientError SYNTAX_ERROR }
explain ast select (1) -> f(a); -- { clientError SYNTAX_ERROR }
explain ast select (1::UInt64) -> f(a); -- { clientError SYNTAX_ERROR }