Seven Stars

Merge data from multiple tMap components

Hi all,

 

How can i merge the data from multiple tMap components into single output file

PFA

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: Merge data from multiple tMap components

Hi,

Please take a look at this post:https://community.talend.com/t5/Troubleshooting-Development/Can-I-create-a-Job-with-multiple-paths-f....

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
5 REPLIES
Ten Stars

Re: Merge data from multiple tMap components

You can connect each filter to its own file output component, and configure the output components to reference the same file name. Check the "Append" box to make them all add to the file rather than overwrite it.
Twelve Stars TRF
Twelve Stars

Re: Merge data from multiple tMap components

Depending on what you need to do after this step, you can also use tHashOutput to result from all the tMap in memory and reuse it later using tHashInput. This suppose the schema is the same for each output tMap, else you need to reconciliate first.

TRF
Highlighted
Seven Stars

Re: Merge data from multiple tMap components

Thanks, i was able to manage it with tMap since schema was same for all outputs , using join in the different tMaps helped me to achieve the desired output
Seven Stars

Re: Merge data from multiple tMap components

Thanks, i was able to manage it with tMap since schema was same for all outputs , using join in the different tMaps helped me to achieve the desired output without using filters
Moderator

Re: Merge data from multiple tMap components

Hi,

Please take a look at this post:https://community.talend.com/t5/Troubleshooting-Development/Can-I-create-a-Job-with-multiple-paths-f....

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.