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

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

Asked Aug 23, 2024 Modified Aug 23, 2024
Viewed 211
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 (没回帖直接加我主页微信)9310
answered Aug 23, 2024

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

edited Jan 1, 1970
pillar5
answered Aug 28, 2024
Related Questions
fe节点空指针,两个be节点只有一个存活
1 answers
求助:be频繁重启,目前推测由于arm内存管理,能否分析帮忙具体报错和提供解决措施?
doris单表分区数量限制
1 answers
【求助】升级到2.1.8版本后,从S3导入数据变慢
1 answers
EXPORT 导出cvs 数据为空 导出为\N 怎么修改这个设置
1 answers
storage policy删除以后,日志一直报could not find storage_policy
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 中文技术论坛.