ClickHouse/tests/queries/0_stateless/02469_fix_aliases_parser.sql
Nikolay Degterinsky 30f4f33e79 Add test
2022-10-24 01:39:40 +00:00

9 lines
427 B
SQL

SELECT sum(number number number) FROM numbers(10); -- { clientError 62 }
SELECT sum(number number) FROM numbers(10); -- { clientError 62 }
SELECT sum(number AS number) FROM numbers(10);
SELECT [number number number] FROM numbers(1); -- { clientError 62 }
SELECT [number number] FROM numbers(1); -- { clientError 62 }
SELECT [number AS number] FROM numbers(1);
SELECT cast('1234' lhs lhs, 'UInt32'), lhs; -- { clientError 62 }