Skip to main content Skip to complementary content

Importing or exporting match rules

You can import match rules from the Talend Studio repository and use them in the match editor to test them on your data. You can also export match rules from the match editor and save them in the Talend Studio repository.

You can import and use match rules created with the VSR algorithm in the tMatchGroup configuration wizard and in the other matching components including tGenkey, tRecordMatching and the Hadoop matching components.

For further information, see Data matching with Talend tools.

Importing match rules from the repository

Procedure

  1. In the match editor, click Import Match Rule on top of the editor.
  2. In the Match Rule Selector wizard, select the match rule you want to import into the match analysis editor and use on the analyzed data.
    A warning message displays in the wizard if the match rule you want to import is defined on columns that do not exist in the analyzed data. Ignore the message as you can define input columns later in the match analysis editor.
  3. When you want to replace the rule in the editor with the rule you import, select the Overwrite current Match Rule in the analysis check box.
  4. Click OK.
    The match rule is imported and the matching and blocking keys and survivorship rules are listed in the Matching Key and Blocking Key tables respectively.
    Overview of the Matching Key section when the match rule is imported.
  5. Click in the Input column and select from the list the column on which you want to apply the imported blocking and matching keys.
    If you have in the analyzed data a column that match the input column in the imported keys, it will be automatically defined in the Input column, you do not need to define it yourself.
    When you analyze data with multiple conditions, the match results list data records that meet any of the defined rules. When you execute the match analysis, an OR match operation is conducted on data and data records are evaluated against the first rule and the records that match are not evaluated against the other rules.

Exporting match rules to the repository

Procedure

  1. In the match editor, click Export Match Rule on top of the editor.
  2. In the Export Match Rule wizard, enter a name for the rule and set other metadata, if needed.
  3. Click Finish.
    The rule editor opens on the rule settings. The rule is saved and listed under Libraries > Rules > Match in the DQ Repository tree view.

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 – please let us know!