Configuring the second pass
-
In the basic settings of the tMatchGroup
labelled pass2, select Simple VSR from the Matching
Algorithm list.In this scenario, the match rule is based on the VSR algorithm. -
Click the Preview button to display the
Configuration Wizard.If this component does not have the same schema of the preceding component, a
warning icon appears. If so, click the Sync
columns button to retrieve the schema from the preceding one and
once done, the warning icon disappears. -
In the Key Definition table, click
the [+] button to add the column(s) on
which you want to do the matching operation, lname in this scenario.Note:When you select a date column on which to apply an algorithm or a matching algorithm,
you can decide what to compare in the date format.For example, if you want to only compare the year in the date, in the component schema
set the type of the date column to Date and then enter
“yyyy” in the Date
Pattern field. The component then converts the date format to a string
according to the pattern defined in the schema before starting a string
comparison. - Select the Jaro-Winkler algorithm in the Matching Function column.
-
Set Weight to 1 and in
the Handle Null column, select the null
operator you want to use to handle null attributes in the column, Null Match Null in this scenario. -
Click the [+] button below the Blocking Selection table to add one row in the table
then click in the line and select from the list the column you want to use as a
blocking value, T_GEN_KEY1 in this example.
-
Click the Advanced settings tab and select
the Multi-pass check box. This option enables
tMatchGroup to receive data sets from the
tMatchGroup that precedes it in the Job.
-
In the Advanced settings view, select the
Sort the output data by GID check box to
arrange the output data by their group IDs. -
Select the Deactivate matching computation when opening
the wizard check box if you do not want to run the match rules
the next time you open the wizard.
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments