This step matches records from one or more datasets based on defined match rules and scoring algorithms, identifying potential duplicates or related records.
The Match Records step identifies and groups records that represent the same entity based on configurable match rules and scoring algorithms. This step is essential for data quality tasks such as de-duplication, record linking, and data consolidation.
Matching approaches
You can match records in the following ways:
-
Within Same Dataset: Compares records within a single dataset to identify duplicates or related records. This is useful for de-duplication and identifying records that represent the same entity.
-
Across Two or more Datasets: Matches records across multiple datasets in a pipeline flow, allowing you to link data from different sources as they move through the pipeline. Interflow matching can also be used with a single dataset to identify and link related records throughout the pipeline.
Common use cases
- Identifying duplicate customer records in a database
- Linking records from different data sources that represent the same person or business
- Finding records with similar addresses to consolidate household information
- Matching contact information across multiple datasets for data enrichment
- Detecting near-duplicate records with minor spelling variations or formatting differences
Configuration overview
The Match Records step configuration consists of the following main components:
Match Pattern
You can choose between two types of match patterns:
-
Compare all records (Intraflow): Each record is compared with others in the same match key group. A Match Rule must be set up to specify the Match key.
-
Compare with reference (Interflow): Compares source records to reference records (all records except source records are treated as reference) within the same match key group. To get started, you need to define the following:
- Incoming source field: Specifies the field used to identify source records for reference-based matching.
- Incoming record value: The value in the source field used to identify source or incoming records.
Match Rule
Select fields and algorithms to set up the match rule.
Settings
Use the Settings page to define how unmatched source records and reference record comparisons are handled during the matching process.
- Assign GroupID 0 to unmatched source records: Assigns a default GroupID value of 0 to source records that do not find a match.
- Assign unique GroupID to unmatched source records: Assigns a unique GroupID to each unmatched source record.
Reference comparison settings
- Compare all reference records: Compares each source record against all eligible reference records within the same match key group.
- Return unmatched reference records: Includes reference records that did not match with any source record in the output.
- Stop comparing on finding duplicates: Stops further comparison after the specified number of duplicate matches is found for a source record.
Match key
A match key is a field or combination of fields that groups records for matching. Records with the same match key are compared against each other. This is essential for blocking strategy, which improves performance by reducing the number of comparisons needed. You can create a Match Key using the Generate key step, or you can use a key that already exists in your dataset. For instructions on generating a Match Key for your data quality pipeline, see the Generate Key documentation.
Union output field
When the Union option is available in the Match and Group pipeline, the system creates a new output field named Union_Source_Identifier. This field is used as the Matching as Source field to identify the source dataset or input record contributing to the union output. The Union_Source_Identifier field helps distinguish records originating from different inputs during matching and grouping operations, especially in multi-input pipeline configurations.
Match scenarios
A match scenario defines a specific set of fields and algorithms used to match records. You can define multiple scenarios and combine them with logical operators (AND, OR) to create complex matching logic.
Creating a match scenario
- Select Add to create a new match scenario.
- Enter a descriptive name for the scenario.
- Select Match Scenario Options to configure the scenario settings.
- Add fields to the scenario by selecting Add in the field table.
- Configure the scoring method, algorithms, and threshold for each field.
Match scenario options
Name
The name of the match scenario. Use a descriptive name that indicates the fields or criteria being matched.
Matching Method
Specifies how field scores are combined to determine if records match:
- All true: All fields must meet their threshold scores for records to match.
- Any true: At least one field must meet its threshold score for records to match.
- Based on threshold: The overall match score must meet a specified threshold.
Missing Data
Specifies how to handle missing or blank values:
- Ignore blanks: Blank values are not considered in the matching calculation.
- Compare blanks: Blank values are compared during matching and contribute to the match score based on the comparison result.
- Count as 100: Missing or blank values are treated as a perfect match and contribute a score of 100 to the matching calculation.
- Count as 0: Missing or blank values are treated as a non-match and contribute a score of 0 to the matching calculation.
Scoring Method
Specifies how individual field scores are calculated:
- Average: The average of all algorithm scores for the field.
- Maximum: The highest score from all algorithms applied to the field.
- Minimum: The lowest score from all algorithms applied to the field.
Children
Displays the fields included in this match scenario. You can expand or collapse this page to view the fields being used for matching.
Adding fields to a match scenario
- In the Match Scenario configuration, select Add to add a field.
- Select a field from the available fields list.
-
Configure the following for each field:
- Score method: Choose how to calculate the field score (Average, Maximum, or Minimum).
- Algorithms: Select one or more matching algorithms to apply to the field.
- Threshold: Set the minimum score (0–100%) required for the field to be considered a match.
- Select the action button to remove or modify the field configuration.
Matching algorithms
Matching algorithms compare field values and calculate a similarity score. You can apply multiple algorithms to a single field, and the scores are combined based on the selected scoring method. For the supported Match and Group algorithms, including Trillium matching algorithms and modifier details, see Match algorithms.
Selecting algorithms
Choose algorithms based on the type of data and the matching requirements:
- For names and text fields with potential spelling variations, use Jaro-Winkler or Edit Distance.
- For standardized codes or identifiers, use Exact Match.
- For fields where character composition is important, use Character Frequency.
- Combine multiple algorithms to increase matching accuracy.
Threshold score
The threshold score is the minimum match score (0–100%) required for a field or record to be considered a match. Set thresholds based on your data quality requirements:
-
High threshold (80–100%): Use for critical fields where accuracy is paramount. Reduces false positives but may miss some valid matches.
-
Medium threshold (60–80%): Balanced approach for general matching scenarios.
-
Low threshold (0–60%): Use when you want to capture more potential matches but be prepared for more false positives.