Scenario 3: Using survivorship functions to merge two records and create a master
record
This scenario applies only to a subscription-based Talend Platform solution or 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.