1
將數據從文本文件導入到CSV文件輸出時,出現以下錯誤。 我檢查了日期,我沒有在日期中發現任何錯誤。任何人都可以解釋什麼是HOUR_OF_DAY錯誤。Talend的HOUR_OF_DAY錯誤?
工作; -
tFileInputdelimited --> tmap -- > tFileOutputdelimited
錯誤: -
java.lang.IllegalArgumentException: HOUR_OF_DAY: 2 -> 3
at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2764)
at java.util.Calendar.updateTime(Calendar.java:2606)
at java.util.Calendar.getTimeInMillis(Calendar.java:1118)
at java.util.Calendar.getTime(Calendar.java:1091)
at routines.system.FastDateParser$DateTimeParser.parse(FastDateParser.java:222)
at routines.system.ParserUtils.parseTo_Date(ParserUtils.java:282)
at responsys.load_responses_opt_out_hist_0_1.Load_Responses_OPT_OUT_Hist.tFileList_1Process(Load_Responses_OPT_OUT_Hist.java:2124)
at responsys.load_responses_opt_out_hist_0_1.Load_Responses_OPT_OUT_Hist.tFileDelete_1Process(Load_Responses_OPT_OUT_Hist.java:547)
at responsys.load_responses_opt_out_hist_0_1.Load_Responses_OPT_OUT_Hist.runJobInTOS(Load_Responses_OPT_OUT_Hist.java:4338)
at responsys.load_responses_opt_out_hist_0_1.Load_Responses_OPT_OUT_Hist.main(Load_Responses_OPT_OUT_Hist.java:4203)
Unparseable date: "2014-03-09 02:11:11"
看看這個SO線程http://stackoverflow.com/questions/27925035/wrong-offset-for-timezone-casablanca-java – vzamanillo
請檢查文件輸入和文件輸出的模式和tmap ..詳細信息關於它 - 你在tMap中做了什麼樣的轉變? – garpitmzn