Matching customer data through multiple passes
The Job in this scenario groups similar customer records by running through two subsequent matching passes using the tMatchGroup components and outputs the calculated matches in groups.
Each pass provides its matches to the pass that follows in order for the latter to add more matches identified with new rules and blocking keys.This scenario applies only to Talend Data Management Platform, Talend Big Data Platform, Talend Real-Time Big Data Platform, Talend MDM Platform, Talend Data Services Platform, Talend MDM Platform and Talend Data Fabric.
About this task
- The tMysqlInput component connects to the customer records to be processed.
- Each of the tGenKey components defines a way to partition data records. The first key partitions data to many groups and the second key creates fewer groups that overlaps the previous blocks depending on the blocking key definition.
- The tMap component renames the key generated by the second tGenKey component.
- The first tMatchGroup
processes the partitions defined by the first tGenKey, and the second tMatchGroup processes those defined by the second tGenKey.
Information noteImportant: The two tMatchGroup components must have the same schema.
- The tLogRow component presents the matching results after the two passes.
Setting up the Job
About this task
Procedure
Connecting to the input data
Procedure
Configuring the key generation for the first pass
Procedure
Configuring the key generation for the second pass
Procedure
Configuring the first pass
Procedure
Configuring the second pass
Procedure
Executing the Job and showing the results on the console
About this task
-
Use a tReplicate component to replicate the input flow you want to process as shown in the above figure. Use a copy/paste operation to create the two parts of the Job.
-
Keep only the first pass, tMatchGroup component, in the upper part of the Job and show the match results in a tLogRow component.
-
Use two passes in the lower part of the Job and show the final match results in a tLogRow component.