Apache Doris 中文技术论坛
Questions Tags Users Badges

group_concat 什么时候可以支持Distinct 和 order by 一起用?

Asked Jun 18, 2024 Modified Jun 19, 2024
Viewed 58
query

ERROR 1105 (HY000): errCode = 2, detailMessage = group_concat don't support using distinct with order by together: group_concat(DISTINCT X.xxxx ORDER BY X.xxxx ASC, ',' ASC)

edited Jun 19, 2024
sg300003
asked Jun 18, 2024
1 Answers

如果需要同时实现去重和排序的功能,当前可能需要考虑其它替代方案或使用多个查询步骤来完成。

edited Jan 1, 1970
张彬华7678
answered Jun 20, 2024
Related Questions
请教各位大佬,如何使用doris 统计k线数据
1 answers
doris的group commit使用问题
2 answers
Doris SQL解析慢
1 answers
桶数设置为6,12后,性能还比不上桶为10
1 answers
异步物化视图刷新失败,提示“errCode = 2, detailMessage = (10.56.88.77)[CANCELLED]failed to open DeltaWriter 90250840: not enough streams 1/2”
2 answers
不考虑数据同步,doris直接跨集群实例查询有哪些方法?
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.