Hi All,
I have a scenario where I have loaded email table with 2 slightly different email data. Now next day source team sent the corrected data which is exactly equal to first data so the 2nd data gets updated but since it is exactly same it should get merged with first data but that is not happening. For email table we dont have any match rule. We just have defined a key rule on email address basically storing unique data for same load.
First Load
id | |
---|---|
123 | abc@gmail.com |
124 | abc1@gmail.com |
2nd Load
id | |
---|---|
123 | abc@gmail.com |
124 | abc@gmail.com |
Now I have duplicate email data with 2 diff id. How can I fix this? I do not have party id in this table. Party and Email are linked using Party_Email table which is having relationship for both the entities.
Party_Email
id | party_id | email_id |
1 | 100 | 123 |
2 | 100 | 124 |