Modifying the rule file manually to code the conditions you want to use to create a survivor

Deduplication

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Services Platform
Talend ESB
Talend Open Studio for Big Data
Talend Big Data
Talend Open Studio for ESB
Talend Big Data Platform
Talend Real-Time Big Data Platform
Talend Open Studio for Data Integration
Talend Open Studio for MDM
Talend Data Management Platform
Talend Data Integration
Talend MDM Platform
Talend Data Fabric
task
Data Quality and Preparation > Third-party systems > Data Quality components > Deduplication components
Design and Development > Third-party systems > Data Quality components > Deduplication components
Data Governance > Third-party systems > Data Quality components > Deduplication components
EnrichPlatform
Talend Studio

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.

For more technologies supported by Talend, see Talend components.

In a Job, the tRuleSurvivorship component generates a survivorship rule package based on the conditions you define in the Rule table in the component Basic settings view.

If you want the rule to survive records based on some more advanced criteria, you must manually code the conditions in the rule using the Drools language.

The Job in this scenario gives an example about how to modify the code in the rule generated by the component to use specific conditions to create a survivor. Later, you can use this survivor, for example, to create a master copy of data for MDM.

The components used in this Job are:

  • tFixedFlowInput: it provides the input data to be processed by this Job.

  • tRuleSurvivorship: it creates the survivor validation flow based on the conditions you code in the rule. This component selects the best-of-breed data that composes the single representation of each duplicate group.

  • tLogRow: it shows the result of the Job execution.