Configuring the output component and executing the Job - 7.0

Data privacy

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Data Quality components > Data privacy components
Data Quality and Preparation > Third-party systems > Data Quality components > Data privacy components
Design and Development > Third-party systems > Data Quality components > Data privacy components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the tLogRow component to display the Basic settings view and define the component properties.
  2. Click Sync columns button to retrieve the schema defined in the preceding component.
  3. Select Table in the Mode area.
  4. Save your Job and press F6 to execute it.

Results

The tPatternMasking component alters the values from the input data and outputs original and substitute records.

The input data has been altered but the output data looks real and consistent. The substitute data is still usable for non-production purposes.

The first record is labeled as true because 1EG4-T-E5-MK73 is an original record. The second record is labeled as false because 7H24-E-K4-HY91 is a substitute record:
  • The first character is replaced with a digit from the 1 to 9 range, as defined in the tPatternMasking properties.
  • The second, fifth, eighth and ninth characters are replaced with a letter from the list of authorized values defined in the enumeration file.
  • The third and sixth characters are replaced with one of the authorized alphanumeric values defined in the enumeration file.
  • The fourth and seventh characters are replaced with a digit from the 0 to 9 range, as defined in the tPatternMasking properties.
  • The last two characters are replaced with a number from the 0 to 99 range, as defined in the tPatternMasking properties.
  • The input uses dashes as separators and they remain unchanged in the output.

The tPatternMasking component outputs null for 0EF6-T-F4-AC44 because this value is invalid: the first character, 0, is out of the specified range ("1,9").