Can we have duplicate source_id column values in mdm full load?
Solved
Duplicate source_id MDM
Best answer by ivysakh
Hiย
The party_source_id, being a FK in the contact entity should not cause you any duplicate errors in the load operation. However, in order to simplify the model complexity, you can do below:
-
Introduce an intermediate entity to represent the "Party-Location" relationship. This entity would have a 1:N relationship with both Party and Contact.
- Party 1:N Party-Location 1:N Contact
-
Key Definition:
- Party-Location: The primary key would be a combination of
party_source_idandph_location. - Contact: The primary key would be
ph_no(assuming phone number is unique within a location).
- Party-Location: The primary key would be a combination of
-
Mapping:
- Map
party_source_idandph_locationfrom your source to the Party-Location entity. - Map
ph_no,contact_type, and other contact details to the Contact entity.
- Map
- This method povides a more accurate representation of the relationships in your data and helps avoid duplicates and ensures contacts are correctly linked to parties and locations.
ย
Cheers!
Vysakh Indrasenan
Login to the Ataccama Community
No account yet? Create an account
For Ataccama Customers and Partners
or
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.



