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

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

Asked Jun 18, 2024 Modified Jun 19, 2024
Viewed 195
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
张彬华7698
answered Jun 20, 2024
Related Questions
Doris3.1.4并发查询速度变慢
1 answers
ranger新增的表权限,在doris中不生效,doris版本 Version : doris-4.1.3-rc02
1 answers
max_by会不会忽略null值
1 answers
排序查询冷却到远程存储的数据报错
1 answers
Doris4.0.5版本有没有可以用低权执行select语句的curl接口
1 answers
3.0.8版本查hive外表报错:[INTERNAL_ERROR][E6] Parameters start = 0, length = 1, are out of bound
1 answers

Terms of service Privacy policy

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