mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
455 B
455 B
toc_priority
| toc_priority |
|---|
| 111 |
groupUniqArray
语法
groupUniqArray(x)
或
groupUniqArray(max_size)(x)
从不同的参数值创建一个数组。 内存消耗和 uniqExact 函数是一样的。
第二个版本(带有 max_size 参数)将结果数组的大小限制为 max_size 个元素。
例如, groupUniqArray(1)(x) 相当于 [any(x)].