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

Doris 2.1.9 count(DISTINCT IF(sum(ActualPrice)>0,PatientId,null)) 无法执行

Asked Apr 24 Modified Jan 1, 0001
Viewed 45
2.1 demand

edited Jan 1, 0001
Zack1
asked Apr 24
1 Answers

一般情况下,不能直接把聚合函数嵌套在条件函数里当作条件判断使用,因为聚合函数要在分组操作之后才能计算出结果,而条件判断是在分组操作之前进行的。

edited Jan 1, 1970
徐振超@SelectDB7021
answered Apr 25
Related Questions
doris集群部署重启报错
doris2.1.9, fe和be的这些错误日志有影响没?
发送奔溃直接退出
docker compose 3个节点部署 3fe3be 启动是吧
1 answers
PipelineX 引擎,多BE节点环境下,由于fragment内部 local exchange的拆分,local shuffle 数据分发出现错乱,导致SQL结果错误。
1 answers
Doris查询hive数据异常问题
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 中文技术论坛.