【问题标题】:Talend - Issue when using Dynamic Schema with CSV fileTalend - 将动态模式与 CSV 文件一起使用时出现问题
【发布时间】:2019-06-07 15:23:32
【问题描述】:

我正在动态读取 csv 文件,但似乎此数据结构正在删除第一行(在我的情况下最重要的一行)

您可以看到我的文件包含 109 行,但 tFileInput 似乎读取 108。

相同的文件,具有相同的配置并将 Dynamic 更改为 String 工作正常。

我需要动态读取文件,因为列数是可变的,我需要根据第一行丢失我的文件。

有什么想法吗? 谢谢你:)

【问题讨论】:

    标签: file csv dynamic etl talend


    【解决方案1】:

    好的。当您使用动态模式时,这是一个已知的事情。我从 talend 文档中截取了这个片段供您阅读,

    HEADER:Enter the number of rows to be skipped in the beginning of file.
    
    Note that when dynamic schema is used, the first row of the input data is always treated as the header row no matter whether the Header field value is set or not. For more information about dynamic schema, see Talend Studio User Guide.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-15
      • 2011-05-27
      • 1970-01-01
      相关资源
      最近更新 更多