kettle 转换字段遇到问题(couldn't get row from result set)——摘

https://blog.csdn.net/weixin_39855111/article/details/80365160

摘自上述链接,感谢!


kettle 转换字段遇到问题(couldn't get row from result set unable to get timestamp from resultset at index 9)

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/weixin_39855111/article/details/80365160

kettle imestamp : Unable to get timestamp from resultset at index 22

在做ETL的时候,连接MySQL读取含有timestamp类型的表,出现如下错误:

Timestamp : Unable to get timestamp from resultset at index 30

经Google,据说是MySQL自身的问题。解决方法也很简单,在Spoon的数据库连接中,打开选项,加入一行命令参数:

zeroDateTimeBehavior=convertToNull

如图所示:

数据库连接-选项

问题解决。
 

 

转自:

《Pentaho Spoon (Kettle) 出现 Timestamp :Unable to get timestamp from resultset at index 30 错误的解决》http://www.ywlib.com/archives/61.html (from 一闻自习室)

转载于:https://www.cnblogs.com/sansanmao123/p/11535088.html


版权声明:本文为weixin_30634661原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。