(仅供参考)
问题描述:
关系目标表执行报错,提示:数据格式异常,请检查数据格式是否正确。但在数据源表数据快查中是可以预览数据的。但节点却报错了。
节点日志分析:error, you should set transaction. type before any DCL statement, type[inceptor, holodesk]
解决方案:
根据日志报错关键信息,并非数据格式类型不匹配导致。报错为数据库驱动反馈的异常 error, you should set transaction. type before any DCL statement, type[inceptor, holodesk],网络相关参考文档原因为未在DCL声明前定义事务类型,可在数据库连接字符串的url中添加transaction.type=inceptor 参数。
评论
华燕培 发表:
如果库中既有orc表,又有holodesk表,需要在数据库连接url加上参数transaction.type=inceptor或transaction.type=holodesk(取决于写什么类型表)