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 一聞自習室)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM