mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test for trailing commas in select
This commit is contained in:
parent
6fa57b9d7d
commit
f2dddbd9de
@ -6,3 +6,5 @@
|
||||
(1,'foo')
|
||||
(1,'foo')
|
||||
(1,(2,'foo'))
|
||||
0 0
|
||||
0 0
|
||||
|
@ -7,3 +7,5 @@ SELECT (1, 'foo')::Tuple(a Int, b String,);
|
||||
SELECT (1, 'foo')::Tuple(a Int, b String,,); -- { clientError SYNTAX_ERROR }
|
||||
SELECT (1, 'foo')::Tuple(Int, String,);
|
||||
SELECT (1, (2,'foo'))::Tuple(Int, Tuple(Int, String,),);
|
||||
SELECT number as a, sum(number) FROM numbers(1) GROUP BY number;
|
||||
SELECT number, sum(number) as s, FROM numbers(1) GROUP BY number;
|
||||
|
Loading…
Reference in New Issue
Block a user