在 Clickhouse 中合并 uniqMerge 值

穆罕默德·雅利安

我在模式中有两条记录tags

CREATE TABLE default.tags
(
    `tag_id` String,
    `count` SimpleAggregateFunction(sum, Int64),
    `users` AggregateFunction(uniq, String),
    `sessions` AggregateFunction(uniq, String)
)

在此处输入图片说明

我想将所有用户合并到一个记录中。我试过了,uniqState(users)但它给了我 type 的东西AggregateFunction(uniq, AggregateFunction(uniq, String))

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章