mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test [#METR-22329].
This commit is contained in:
parent
902c70bfa9
commit
d76514fbe1
4
dbms/tests/queries/0_stateless/00371_union_all.reference
Normal file
4
dbms/tests/queries/0_stateless/00371_union_all.reference
Normal file
@ -0,0 +1,4 @@
|
||||
1
|
||||
1
|
||||
[1,2,3]
|
||||
[4,5,6]
|
2
dbms/tests/queries/0_stateless/00371_union_all.sql
Normal file
2
dbms/tests/queries/0_stateless/00371_union_all.sql
Normal file
@ -0,0 +1,2 @@
|
||||
select toUInt64(1) union all select countIf(n>0) from (select 2 as n);
|
||||
select [1,2,3] AS q UNION ALL select groupArray(arrayJoin([4,5,6])) AS q ORDER BY q;
|
Loading…
Reference in New Issue
Block a user