"Value larger than specified precision" 使用 PDI 导入文件

"Value larger than specified precision" importing file with PDI

我正在尝试使用 Pentaho 数据集成将文件导入 Oracle 数据库。

失败的转换尝试将从 file/input 流接收的信息插入数据库。转换类型为 Table Output.

问题是文件中的某一列的值超过了 Oracle 列的容量,我得到:

2019/03/12 22:00:01 - Insert into Bank Reference Data.0 - Error batch inserting rows into table [REF_DATA].

2019/03/12 22:00:01 - Insert into Bank Reference Data.0 - Errors encountered (first 10):

2019/03/12 22:00:01 - Insert into Bank Reference Data.0 - ORA-01438: value larger than specified precision allowed for this column

2019/03/12 22:00:01 - Insert into Bank Reference Data.0 -

2019/03/12 22:00:01 - Insert into Bank Reference Data.0 -

2019/03/12 22:00:01 - Insert into Bank Reference Data.0 - Error updating batch

文件有 100 列和 5000 行,错误消息没有告诉我哪一列失败了。我尝试使用调试级别登录,但我也没有看到列的名称。有什么想法可以解决这个问题吗?

答案:转换有批量更新 = true,将批量更新更改为 false 打印有问题的行。