mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix return type of groupUniqArray
This commit is contained in:
parent
297a16407a
commit
ec12a089f3
@ -0,0 +1,2 @@
|
||||
['Hello','World','Упячка']
|
||||
['Hello','World','World','Упячка','Упячка','Упячка']
|
@ -0,0 +1,2 @@
|
||||
SELECT arraySort(groupUniqArray(x)) FROM (SELECT CAST(arrayJoin([1, 2, 3, 2, 3, 3]) AS Enum('Hello' = 1, 'World' = 2, 'Упячка' = 3)) AS x);
|
||||
SELECT arraySort(groupArray(x)) FROM (SELECT CAST(arrayJoin([1, 2, 3, 2, 3, 3]) AS Enum('Hello' = 1, 'World' = 2, 'Упячка' = 3)) AS x);
|
Loading…
Reference in New Issue
Block a user