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

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

Asked Nov 20, 2024 Modified Jan 1, 0001
Viewed 78
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
ccr数据同步成功了,但是执行get_lag的last_binlog_timestamp和first_binlog_timestamp为什么都是1970-01-01 08:00:00,我该怎么查看上次同步时间呢
1 answers
物化视图创建-使用LATERAL VIEW EXPLODE_OUTER
2 answers
使用doris物化视图做数仓分层,哪种策略好
1 answers
3.0.8版本查hive外表报错:[INTERNAL_ERROR][E6] Parameters start = 0, length = 1, are out of bound
1 answers
Doris漏洞
1 answers
DBA岗位招聘
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 中文技术论坛.