Merge pull request #15062 from ClickHouse/add-test-4476

Add a test for #4476
This commit is contained in:
Alexander Kuzmenkov 2020-09-21 20:41:25 +03:00 committed by GitHub
commit 1eb5137bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;