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

spark sql读取doris时date类型报错

Asked Jan 20, 2025 Modified Jan 1, 0001
Viewed 52
1.2

Caused by: java.lang.RuntimeException: java.sql.Date is not a valid external type for schema of date

edited Jan 1, 0001
liker1
asked Jan 20, 2025
2 Answers

可能是类型不对应导致,可以参考Doris 和 Spark 列类型映射关系

edited Jan 1, 1970
张彬华7688
answered Jan 22, 2025

spark 版本和 connector 版本是多少呢

edited Jan 1, 1970
gnehil1
answered Feb 12, 2025
Related Questions
or sys mem available 1.42 GB less than low water mark 1.54 GB. Execute again after enough memory, details see be.INFO
1 answers
x2doris 同步doris2.0.4到doris2.1.7
1 answers
1.2.8升级到2.0.0 FE报错
1 answers
Doris 2.1.11 通过创建jdbc catalog 访问 doris 1.2.8的bitmap类型字段报错
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 中文技术论坛.