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

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

Asked Aug 23, 2024 Modified Aug 23, 2024
Viewed 192
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
阿渊@SelectDB8275
answered Aug 23, 2024

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

edited Jan 1, 1970
pillar5
answered Aug 28, 2024
Related Questions
flink-doris-connector的25.1.0版本使用CdcMysqlSyncDatabaseCase当任务启动后MySQL后新增的表无法同步,还需要其它什么设置
1 answers
Doris实现动态行转列
1 answers
使用聚合模型聚合小时数据,出现前后结果不一致该如何排查
1 answers
doris2.0.3 mow表数据莫名奇妙的减少了
2 answers
对于JSON_ARRAY JSON数组嵌套数据的处理,大家有什么好的处理办法吗?
doris be节点下线扩容,以一个新节点重新添加到集群后,UsedPct统计出错,导致集群间数据无法均衡
2 answers

Terms of service Privacy policy

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