DataWorks写入 ODPS 目的表时遇到了脏数据: 第[10]个字段 records 的数据出现错误,请检查该数据并作出修改 或者您可以增大阀值,忽略这条记录?2024-04-26 15:50:03.507 [1479578433-0-0-writer] ERROR StdoutPluginCollector -
java.lang.IllegalArgumentException: InvalidData: The string's length is more than 8388608 bytes.
at com.aliyun.odps.data.OdpsTypeTransformer.validateString(OdpsTypeTransformer.java:98)
at com.aliyun.odps.data.OdpsTypeTransformer.transform(OdpsTypeTransformer.java:250)
at com.aliyun.odps.data.OdpsTypeTransformer.transformAndValidate(OdpsTypeTransformer.java:170)
at com.aliyun.odps.data.ArrayRecord.set(ArrayRecord.java:138)
at com.aliyun.odps.data.ArrayRecord.set(ArrayRecord.java:134)
at com.aliyun.odps.data.ArrayRecord.setString(ArrayRecord.java:304)
at com.alibaba.datax.plugin.writer.odpswriter.OdpsWriterProxy.dataxRecordToOdpsRecord(OdpsWriterProxy.java:321)
at com.alibaba.datax.plugin.writer.odpswriter.OdpsWriterProxy.writeOneRecord(OdpsWriterProxy.java:232)
at com.alibaba.datax.plugin.writer.odpswriter.OdpsWriter$Task.writeByTunnelUpload(OdpsWriter.java:855)
at com.alibaba.datax.plugin.writer.odpswriter.OdpsWriter$Task.startWrite(OdpsWriter.java:755)
at com.alibaba.datax.core.taskgroup.runner.WriterRunner.run(WriterRunner.java:97)
at java.lang.Thread.run(Thread.java:853)
2024-04-26 15:50:03.747 [1479578433-0-0-writer] ERROR StdoutPluginCollector - 脏数据:
{"exception":"InvalidData: The string's length is more than 8388608 bytes.","message":"
看起来是string类型的限制 确认一下set有没有成功(生产项目的setproject) ,此回答整理自钉群“DataWorks交流群(答疑@机器人)”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
DataWorks基于MaxCompute/Hologres/EMR/CDP等大数据引擎,为数据仓库/数据湖/湖仓一体等解决方案提供统一的全链路大数据开发治理平台。