Configuring the unmasking operations
Configure one unmasking operation for each part of the input phone
numbers. Separators will be left unchanged in the unmasked values.
In the Modifications table, the
settings must be the same as the ones used for the masking operations performed by the
tPatternMasking component.
The masked Australian phone numbers use the
XX XXXX
XXXX
format:
- A two-digit prefix
- A space used as a separator
- A four-digit code region
- A space used as a separator
- A four-digit line number
-
Double-click tPatternUnmasking to display its Basic settings view in the Component tab.
-
If required, click Sync
columns to retrieve the schema defined in the input
component. -
Click the Edit schema
button to open the schema dialog box.tPatternUnmasking adds a read-only
column to the output schema.The ORIGINAL_MARK column labels output records:
- Original records are labeled with the
true
label. - Substitute records are labeled with the
false
label.
- Original records are labeled with the
-
In the Modifications
table, click the [+] button to add three
rows.Each row corresponds to an unmasking operation for a part of
the input phone numbers. -
In the Modifications
table, edit the first row to configure the unmasking operation for
prefixes:-
From the Column to
unmask field, select the column which holds the data to
be unmasked.In this example, select PhoneNumber. -
From the Field
type field, select Enumeration as the field type the data belongs to and
enter "02,03,07,08" in the
Values field.
-
From the Column to
-
In the Modifications
table, edit the second row to configure the unmasking operation for code
regions:-
From the Column to
unmask field, select the column which holds the data to
be unmasked.In this example, select PhoneNumber. -
From the Field
type field, select Enumeration as the field type the data belongs to and
enter "5550,7010" in the
Values field.
-
From the Column to
-
In the Modifications
table, configure the third row to unmask the four-digit line numbers:-
From the Column to
unmask field, select the column which holds the data to
be unmasked.In this example, select PhoneNumber. -
From the Field
type field, select Interval as the field type the data belongs to and
enter "0000,99999" in the
Range field.
-
From the Column to
-
Click the Advanced
settings tab and select the Output
the original row? check box.The Job will output original and substitute records. -
From the Method list,
select the method used when the data was masked using the
tPatternMasking component.In this example, select FF1 with AES. -
In the Password for FF1
methods, enter the user-defined password used when the data was
masked using the tPatternMasking component.In this example, enter "talend".
Parent topic: Unmasking Australian phone numbers
Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Login
0 Comments