首页 > 其他 > 详细

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

时间:2016-04-08 18:01:23      阅读:926      评论:0      收藏:0      [点我收藏+]

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

技术分享

经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 一闻自习室)

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

原文:http://www.cnblogs.com/kenwong/p/5368985.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!