Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Merge two output of tmap same shema

Hi everybody

 

I want to merge two output of tmap in one output and then i want to replicate my out put

screenshots explain my subject

 

best regards

 

0683p000009Lvyi.jpg0683p000009Lvui.jpg

Labels (2)
6 Replies
TRF
Champion II
Champion II

You need to start a new subjob to merge the flows (using tMap or tUnite) as you cannot do it int the same subjob where the initial flow has been splitted.

Anonymous
Not applicable
Author

thank you for reply, can you explain more plz, with screenshots

TRF
Champion II
Champion II

Here is what it should look like:

0683p000009LwEk.png

Flows from tMap are connected each to a dedicated tHashOutput.

OnSubjobOk, the content of the 2 tHash is merged using tUnite (via tHashInput to get the content).

To activate tHash component, go to File > Edit Projetc properties > Designer > Pelette Settings and push the Technical folder to the Show column if it is not yet.

vapukov
Master II
Master II

in additional to @TRF - could be little slower, but less memory usage, You can change tHash to CSV files

 

tHash - excellent for small data-sets, but could eat all memory unpredictable

CSV work very fast compare to most of database outputs

ThWabi
Creator II
Creator II

Hi developper_webio,

if you do not need to further process the two outputs separately, may I suggest creating just one tMap output with the following filter condition:

 

( row1.size.equals(0) && row1.CF.equals("VFG") ) || ( !row1.size.equals(0) && row1.CF.equals("RFP") )

 

Best regards,

Thomas

 

Anonymous
Not applicable
Author

Hello,

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

Best regards

Sabrina