• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » FileList to process different files

#1 2012-02-09 10:24:43

kavita12345
New member
Registered: 2012-02-01
Posts: 7

FileList to process different files

Hey all,

    I have a quick question,
         Will the tFileList work for different files having different schema(different number and type of fields). I dont think this is possible as we give the schema at the beginning ).

Waiting for the ans/reply.

Offline

#2 2012-02-09 10:36:03

archenroot
Member
Company: CoeTech Unconnected
Registered: 2010-02-23
Posts: 166
Website

Re: FileList to process different files

Well, tFileList just list the files in folder, or subfolders. If there are files with different schemes in directory you schould be able to detect it. The easies way is to put some suffix or prefix to name of file when generated and then use If Then component in Talend to route each type of file to the right tFileInput component.


Emperor wants to control outer space Yoda wants to explore inner space that's the fundamental difference between good and bad sides of the Force

Offline

#3 2012-02-09 11:05:03

kavita12345
New member
Registered: 2012-02-01
Posts: 7

Re: FileList to process different files

archenroot thanx for reply,

Okay, I'll take the files from a tFileList direct them to different file input components. But I have a tMap after file input component and that can be used for processing all (2 types in my case) types of incoming files.  The problem is i cannot connect multiple file input components to single tmap as it forms a closed loop as shown below. So how to solve this???

               -> tfileInputPositional1
tFileList                                              -> tMap
               -> tfileInputPositional2

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » FileList to process different files

Board footer

Powered by FluxBB