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

How to merge two tables

Hi,

 

I'm new in talend. I have a very urgent problem. So, i wanna merge two tables. For example:

Table T1 with columns A, B, C, D and n1 rows

Table T2 with columns A, B, E, F and n2 rows.

Ps: My tables T1 and T2 have not the same numbers of rows (n1>n2).

A: nominal

B: Date column

C, D, E and F are integers columns.

 

I would like to have a final table T with columns A, B, C , D, E, F and if the values of colums A, B in table with less rows (T2) are not in the second table (T1) to replace the values of the two next columns (E, F) by sero.

 

 

Thanks in advance for your help.

 

Best regards

 

 

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hello,

With your requirement, could you please have a look at tMap component in talend?

Here are related articles about:TalendHelpCenter:tMap and TalendHelpCenter:tMap scenarios.

Let us know if it is OK with you.

Best regards

Sabrina

manodwhb
Champion II
Champion II

@medfand,read the two tables and take two tmap and create a required columns in first tmap with default values E,F and second one with C,D and connect two tmaps to tUnite and then connect tUnite to table output.

manodwhb
Champion II
Champion II

@medfand,still do you have issue?