【问题标题】:Getting wrong date in tLogRow在 tLogRow 中获取错误的日期
【发布时间】:2020-08-21 15:19:34
【问题描述】:

在 tLogRow1(trestclient 之后)我得到正确的日期。但是在 tXmlMap 之后我的日期是错误的。

tLogRow1 输出 =>

<Date>2020-08-21</Date>

但在 tLogRow2 输出 =>

0027-02-10

为此,我在日期表达式的 txmlmap 中写了 TalendDate.parseDate("yyyy-MM-dd",TalendDate.formatDate("yyyy-MM-dd",[row4.body:/root/root/Date])) 但结果还是一样。

【问题讨论】:

    标签: etl talend talend-mdm


    【解决方案1】:

    通过更改 tXmlMap 的 Tree Schema Editor 的日期格式,我能够解决它。

    【讨论】:

      猜你喜欢
      • 2020-04-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多