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

Doris 2.1.7 catalogs取数丢失小数【oracle未指定p和s的NUMBER类型】

Asked Nov 29, 2024 Modified Dec 3, 2024
Viewed 91
2.1 catalog faq

oracle未指定p和s的NUMBER类型 catalog采集的数据丢失小数
源ORACLE 表字段类型有为 NUMBER
因为在ORACLE 中 NUMBER(p,s) 不指定p和s话,整数和小数都可以存储的,
但是catalog取过来丢失是小数

7af1d67d0f5dcff543f964fb6271c52.png

edited Dec 3, 2024
hejun3
asked Nov 29, 2024
1 Answers

已解决,ojdbc版本过低导致、用6有兼容问题,使用Ojdbc8 及以上版本的 Oracle JDBC 驱动程序正常。

edited Dec 3, 2024
张彬华7688
answered Nov 29, 2024
Related Questions
streamload 列转换
1 answers
Resource Group 和 Workload Group 能同开启吗?
1 answers
小批量写入一个be不好用导致整个集群不好用
1 answers
执行 ANALYZE TABLE 收集表统计信息报错, [HY000][1105] errCode = 2, detailMessage = Stats table not available, please make sure your cluster status is normal
1 answers
咨询一下各位大佬Doris集群稳定性可监控的指标可以包括哪些
1 answers
自动分区名字后面00000与动态分区提前创建的分区名字格式不一致
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 中文技术论坛.