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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tMap : getting rows which are in a file but not in the other : how to?

Hi,
I'm pretty new to talend (starting today actually) and i want to put in a fileOutPut the diff between 2 FileInput : i want to keep only the persons (i have an idCode) which are in a file but not in the other file.
How can i do that?
Thx 0683p000009MACn.png
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Use the tMap. Join both inputs by the keys. Create an output mad of the fields of the main input and setup this output as "Inner Join reject" (settings of the output).
If you have in both inputs keys which does not exists in the other input, repeat the way above but replace the both inout flows (change main with lookup flow). 

View solution in original post

7 Replies
Anonymous
Not applicable
Author

Use the tMap. Join both inputs by the keys. Create an output mad of the fields of the main input and setup this output as "Inner Join reject" (settings of the output).
If you have in both inputs keys which does not exists in the other input, repeat the way above but replace the both inout flows (change main with lookup flow). 
Anonymous
Not applicable
Author

Hi stoulouse,

Please take a look at documents about: TalendHelpCenter:tMap and TalendHelpCenter:tMap operation.

Best regards
Sabrina
Anonymous
Not applicable
Author

Use the tMap. Join both inputs by the keys. Create an output mad of the fields of the main input and setup this output as "Inner Join reject" (settings of the output).
If you have in both inputs keys which does not exists in the other input, repeat the way above but replace the both inout flows (change main with lookup flow). 

Hi and thx, but what do you mean with "output mad"? I'm working with Talend Open Studio, maybe this component is not available in this version?
Anonymous
Not applicable
Author

I guess he means "made", it's not a component.
Anonymous
Not applicable
Author

I mean "Create an output containing the input fields"
Anonymous
Not applicable
Author

Great this is working, thx 0683p000009MACn.png
Anonymous
Not applicable
Author

Hi stoulouse,

Could you please mark your topic as resolved?

Best regards
Sabrina