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 47
2.1 demand

edited Jan 1, 0001
Zack1
asked Apr 24
1 Answers

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

edited Jan 1, 1970
徐振超@SelectDB7446
answered Apr 25
Related Questions
doris的be奔溃,版本2.1.7
报错: Failed to get scan range, no queryable replica found in tablet
1 answers
求助!x2doris同步经常中断
1 answers
Doris开启了2阶段提交,且事务已经被清理了,如何判断最近一次的ckp对应的事务是否正常提交了
Apache Doris内存不够,为什么不像spark一样排队处理,Tablet排队一个个处理,而是报错,请问这个解释对吗
1 answers
fe节点jvm gc频繁,偶尔出现fe节点be节点通讯报错

Terms of service Privacy policy

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