Configuring the components - Cloud - 8.0

Validation (Integration)

Version
Cloud
8.0
Language
English
Product
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 Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Data Quality components > Validation components (Integration)
Data Quality and Preparation > Third-party systems > Data Quality components > Validation components (Integration)
Design and Development > Third-party systems > Data Quality components > Validation components (Integration)
Last publication date
2024-02-20

Procedure

  1. Double-click the tFileInputDelimited component to display its Basic settings view.
  2. Define the basic parameters including the input file name and the number of header rows to skip.
  3. Click the [...] button next to Edit schema to describe the data structure of the input file. In this example, the schema is made of five columns: ID, Name, BirthDate, State, and City.
  4. Fill the Length field for the Name, State, and City columns with 7, 10 and 10 respectively.
  5. Click OK.
  6. Double-click the tSchemaComplianceCheck component to display its Basic settings view.
  7. Define the validation parameters.
  8. In the Mode area, select the Custom defined option to perform custom defined checks.
    In this example, we use the Checked columns table to set the validation parameters. However, you can also select the:
    • Check all columns from schema check box if you want to perform all the checks (type, nullability, and length) on all the columns against the base schema.
    • Use another schema for compliance check option and define a new schema as the expected structure of the data.
  9. In the Checked Columns table, define the checks to be performed. In this example:
    • The type of the ID column should be Int|Integer.
    • The length of the Name, State and City columns should be checked.
    • The type of the BirthDate column should be Date, and the expected date pattern is dd-MM-yyyy.
    • All the columns should be checked for null values, so clear the Nullable check box for all the columns.
    Note: To send rows containing fields exceeding the defined maximum length to the reject flow, clear the Trim the excess content of column when length checking chosen and the length is greater than defined length check box.
  10. In the Advanced settings view of the tSchemaComplianceCheck component, select the Treat all empty string as NULL option to sent any rows containing empty fields to the reject flow.
  11. To view the validation result in tables on the Run console, double-click each tLogRow component and select the Table option in the Basic settings view.