Add a test for #4476

This commit is contained in:
Alexey Milovidov 2020-09-21 00:25:47 +03:00
parent e31a9c42e6
commit 6e1bd79d51
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[0,1,2,3,4,5,6,7,8,9]
['0','1','2','3','4','5','6','7','8','9']

View File

@ -0,0 +1,11 @@
DROP TABLE IF EXISTS testv;
create view testv(a UInt32) as select number a from numbers(10);
select groupArray(a) from testv;
DROP TABLE testv;
create view testv(a String) as select number a from numbers(10);
select groupArray(a) from testv;
DROP TABLE testv;