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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Tmap and multiple inputs

Hello,
I am facing a problem. Indeed here is my schema:
tfileInputExcell - main -> TMAP -> tLogRow
tfileInputExcell - main ->^^^^
So, it is a simple Tmap component with 2 inputs.
My inputs have both 16rows and here is my problem, if i just want to put in my output the single column of my 1st input, it should print 16results but here, it is printing 256 (16*16) results.
I can clearly see that the tmap is crossing data of each input but it is possible to have 2 different outputs fur each input by using only one tmap? Maybe i should use 1 Tmap for each input?
Thank you in advance
0683p000009MEl7.png
Labels (2)
16 Replies
Anonymous
Not applicable
Author

My wish is that the output does not multiply by row 2 tables
Anonymous
Not applicable
Author

@shong 

This is the job I'm doing

0683p000009MaHA.jpg


talend.jpg
Anonymous
Not applicable
Author

If you don't set any keys between inputs, it always output 81 rows. Can you upload a screenshot of tMap?
manodwhb
Champion II
Champion II

@vuthuy95 , Yes Agree with @shong  and your tmap is doing cross join because of that you are seeing more records.

Anonymous
Not applicable
Author

@shong 
This is my tMap. You can watch it for me
0683p000009MaHe.png

Anonymous
Not applicable
Author

For Update, if you need to do inner join or left outer join cross the two inputs, set the join keys, see

0683p000009MaHt.png

I hope this article will help you to understand the join model using tMap.

https://community.talend.com/t5/Design-and-Development/Doing-an-inner-join-using-a-tMap-component/ta...

 

Regards

Shong

Anonymous
Not applicable
Author

@shong 
Thank you. I will try it now.