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

SQL语句查出有数据,但是包一层使用count(*),结果为0

Asked Aug 23, 2024 Modified Aug 23, 2024
Viewed 230
2.0

image.png
image.png
doris版本为2.0.9
执行计划
image.png
show variables like "%ner%";
image.png

edited Aug 23, 2024
pillar5
asked Aug 23, 2024
3 Answers

可以升级到 2.0.12 及以上的 2.0 版本,或者 set enable_count_on_index_pushdown = false 急救下

edited Jan 1, 1970
Sun Chenyang16
answered Aug 29, 2024

explain $sql 看下执行计划中的第一行是走的什么优化器。

同时麻烦取一下这个截图:show variables like "%ner%";

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9580
answered Aug 23, 2024

资料已补充了,麻烦帮忙看着,这种数据不正确的问题,实在影响太大!

edited Jan 1, 1970
pillar5
answered Aug 28, 2024
Related Questions
Doris 2.0.15,3FE、6BE(3BE mix角色 3BE computation角色)3个mix角色的BE节点CPU使用率100%
1 answers
Doris Routine Load自动恢复机制
我的doris版本为2.0.6 在备份操作时,会导致所以fe节点宕机,这种情况该怎么排查,为什么备份会导致这个问题?
1 answers
doris fe节点变更成高可用配置
1 answers
各位大哥在通过k8s安装doris3.0的时候,有没有遇到cg启动不起来,提示Set max number of open file descriptors to a value greater than 60000.
1 answers
doris主键表可以bucket配置太小,怎么修改?
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 中文技术论坛.