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

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

Asked Nov 20, 2024 Modified Jan 1, 0001
Viewed 74
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
get_json_string/json_extract 在不同的Doris版本中结果不一致
1 answers
doris 3.1.2连接iceberg问题
2 answers
Doris从2.1.6迭代升级到3.1.2后故障问题
1 answers
Power BI 连接器链接Doris导入数据 ,会话大概在2000秒左右就会被终止
1 answers
当前没有任何的写入和查询操作,CPU使用仍然在1000%+
1 answers
stream load 不支持Workload Group 'lx_dev_user'@'10.11.11.%' 授权,只能'lx_dev_user'@'%' 授权
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 中文技术论坛.