How to replicate then unite

Employee

How to replicate then unite

Hi Talend community,
We are often asked "how to split a data flow and then merge it again?". For example, you can read:
- 5389
- 5717
The tip I'm describing right now works only with Perl (as mhirt confirmed it was not working for Java in his note on 5717).
You have to activate tArray/tArrayIn in menubar button "Project settings", Palette settings. The trick is to use the same array name in tArray_1 and tArray_2. I've created this example with Talend Open Studio 3.0.1.
Tags (1)
One Star

Re: How to replicate then unite

Hi,
Does the tArray component store data in FileSystem to avoid memory problems? Can we use instead tHash components?
Regards,
Youssef
Employee

Re: How to replicate then unite

Does the tArray component store data in FileSystem to avoid memory problems?

No. If you want to use filesystem to avoid memory issues, use tFileOutput* :-)
Can we use instead tHash components?

Currently, there is no tHash for users with Perl (tHash, tAvancedHash are purely internal components, used by other component, tMap in particular).
One Star

Re: How to replicate then unite

What is the resolution for this in a 3.1 Java Job. Should we use mulitple tBufferOutputs and 1 tBufferInput to read it within the same job.
Thanks for your help.
Community Manager

Re: How to replicate then unite

Hello
What is the resolution for this in a 3.1 Java Job. Should we use mulitple tBufferOutputs and 1 tBufferInput to read it within the same job.

Yes, you do that. You can download the tuj in 5389 and import it to your project.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business