1
我有兩個表TableA的和表B如何在Talend中合併兩個具有相同模式的表以避免重複?
表A類似於以下內容:
customerId | name | email |telephone
-------------------------------------------------
00001 | Anne | [email protected] | 123456
00002 | Ben | [email protected] |
00003 | Ryan | [email protected] |
表B類似於以下內容:
customerId | name | email | telephone
---------------------------------------------------
76105 | Anne | [email protected] |
89102 | Ben | [email protected] | 567890
23390 | Ryan | [email protected] | 756541
43769 | Abby | [email protected] | 890437
我想達到以下2個表。
表C
customerId | name | email |telephone
-------------------------------------------------
00001 | Anne | [email protected] | 123456
00002 | Ben | [email protected] | 567890
00003 | Ryan | [email protected] | 756541
customerId | name | email |telephone
-------------------------------------------------
43769 | Abby | [email protected] | 890437
我使用的是與TMAP TableA中作爲主要和表B的樣子了提交。在tmap中,我使用email
作爲外鍵在TableA和TableB之間創建了內部聯接。我將innerJoin輸出寫入一個表,並且innerJoin拒絕另一個表。但是我發現TableC中缺少一些記錄。
在Talend DI中實現這一點的正確方法是什麼?
謝謝。這很清楚。正如你所指出的那樣,我必須扭轉我的視線。 – BlueStar