Skip to main content

Using survivorship functions to merge two records and create a master record

This scenario applies only to Talend Data Management Platform, Talend Big Data Platform, Talend Real Time Big Data Platform, Talend Data Services Platform, Talend MDM Platform and Talend Data Fabric.

This scenario describes a basic Job that uses the T-Swoosh algorithm to find duplicates in customer names. It compares values in the first_name column using matching and survivorship methods, groups similar records together and creates single representations of entities in each group by merging two similar records according to a survivorship rule.

These master records are new records that do not exist in the input data.

You can use several matching passes with the T-Swoosh algorithm in a Job. Each pass provides the survived masters for each group and the original records to the second pass. However, intermediate master records are removed from the output flow. Only final master and original records are kept at the end.

In this Job:

  • The tFileInputDelimited component provides the customer records to be processed.

  • The tMatchGroup component processes data using matching and survivorship methods.

  • The tLogRow component presents the matching and survivorship results.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!