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

【bug】doris SQL报错不准确

Asked Jul 24, 2025 Modified Jul 25, 2025
Viewed 19
2.1

如:SQL中,有store_code,有qty,实际报错原因应该是未设置分组,而不是报没有qty。
很多这种情况,SQL报错时,都会报没有xxx字段。而实际上是某些语法错误

且报错时,无法定位到行位置。希望优化!!

image.png

edited Jul 25, 2025
winhalls_lau11
asked Jul 24, 2025
1 Answers

您是哪个版本呢,是走的什么优化器呀?

show variables like "%planner%"; 看看的

image.png

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9350
answered Jul 29, 2025
Related Questions
streamloaderd成功执行,但是没有导入数据到表里。
1 answers
AUTO LIST PARTITION 分区名长度为何限制 50?能否配置放宽/取消?
doris2.1.11重复建表报错内容异常,不会提示表已经存在
1 answers
我们通过hive catalog外表同步数据,有时候hive表会很大导致内存占满了会杀掉其他任务,限制内存又会导致同步任务失败,有什么方法可以稳定一下呢,同步效率慢一点什么的也没问题
1 answers
doris be启动报错
2 answers
Doris的json解析问题
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 中文技术论坛.