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

原始MySQL表中查询字段值为null,外部表查询结果却是0

Asked Nov 20, 2024 Modified Jan 1, 0001
Viewed 33
3.0 2.1 2.0

通过创建外部表查询表字段值,在原始MySQL中是null的字段(字段类型int),在外部表查出来的是0?怎么让外部表值与原始表一致
image.png

edited Jan 1, 0001
lzwlzw5
asked Nov 20, 2024
1 Answers

Driver 版本问题,使用下高版本的 Driver
https://doris.apache.org/zh-CN/docs/lakehouse/database/mysql#%E4%BD%BF%E7%94%A8%E9%A1%BB%E7%9F%A5

image.png

edited Jan 1, 1970
zy-kkk666
answered Nov 20, 2024
Related Questions
doris3查询表报错 SQL [E-230]错误
1 answers
(已解决)doris3.0.6创建外部目录,连接sqlserver数据库,创建语句无报错,目录也创建好了,但目录下无法查到数据库
3.0.6写数据到hive过一段时间报没有权限
整库同步中连接器版本问题
1 answers
Doris 3.0及以上版本 读写分离性能问题
1 answers
doris运行报错the report queue size exceeds the limit: 100 current: 101
1 answers

Terms of service Privacy policy

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