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

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

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

zeroDateTimeBehavior=convertToNull

如图所示:

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

问题解决。

 

转自:

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

相关文章:

  • 2021-11-23
  • 2021-05-22
  • 2021-12-02
  • 2022-12-23
  • 2021-11-11
  • 2021-05-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-03-10
  • 2021-06-10
  • 2021-10-16
相关资源
相似解决方案