ClickHouse/tests/queries/0_stateless/02469_fix_aliases_parser.sql

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

9 lines
477 B
MySQL
Raw Normal View History

SELECT sum(number number number) FROM numbers(10); -- { clientError SYNTAX_ERROR }
SELECT sum(number number) FROM numbers(10); -- { clientError SYNTAX_ERROR }
2022-10-24 01:39:40 +00:00
SELECT sum(number AS number) FROM numbers(10);
SELECT [number number number] FROM numbers(1); -- { clientError SYNTAX_ERROR }
SELECT [number number] FROM numbers(1); -- { clientError SYNTAX_ERROR }
2022-10-24 01:39:40 +00:00
SELECT [number AS number] FROM numbers(1);
SELECT cast('1234' lhs lhs, 'UInt32'), lhs; -- { clientError SYNTAX_ERROR }