Configuring the process of filtering and extracting the data of interest - 7.1

Standardization

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

About this task

To do this, proceed as follows:

Procedure

  1. In the design workspace, connect tStandardizeRow to tFilterColumns with a Row > Main link.
  2. In the Basic settings view of tFilterColumns, click the [...] button next to the Edit schema field to open the schema editor.
  3. Click on the STANDARDIZED_FIELD column, click the first arrow to filter this column, and then click OK to close the editor and validate the changes.
  4. In the design workspace, connect tFilterColumns to tExtractXMLField with a Row > Main link.
  5. Double-click the tExtractXMLField component to display its Basic settings view.
  6. Click the [...] button next to the Edit schema field to open the schema editor, add four columns and name them respectively number, street, zip and city, and then click OK to validate and close the editor.
  7. In the XML field field, check that the STANDARDIZED_FIELD column is selected.
    The content of the STANDARDIZED_FIELD column is an XML field with a <record> tag as root. Under this tag, the structure defined by the rules configured in the tStandardizeRow component allows to extract each item of the address, as you can see in the following capture.
  8. In the Loop XPath query field, type in "/record/Address".
  9. In the Mapping table, in the XPath query field, enter "INT" for the number column, "StreetName" for the street column, "Zip" for the zip column and "City" for the city column.

Results

Then you can prepare to execute the Job.