Setting up the schema - 7.1

MySQL validation

author
Talend Documentation Team
EnrichVersion
7.1
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 > Validation components > MySQL validation components
Data Quality and Preparation > Third-party systems > Data Quality components > Validation components > MySQL validation components
Design and Development > Third-party systems > Data Quality components > Validation components > MySQL validation components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click tMySQLInvalidRows to display its Basic settings view and define its properties.
    All database connection fields are automatically filled in. If you do not define your input files in the Repository, fill in the details manually after selecting Built-in in the Property Type field
  2. From the Validation type list, select Regex pattern validation.
    This will validate data in the selected rows against a regex pattern. For an example scenario about validating data against DQ rule, see Checking customer table against a given DQ rule to select customer records.
  3. In the Table Name field, type in the name of the database table on which you want to run the Job, customer1 in this example.
  4. In the Where clause field, type in the WHERE clause that will restrict the number of the analyzed rows.
    In this example you want to examine only the emails of the customers from the USA.
  5. In the Analyzed column list, select the column you want to analyze, Email in this example.
  6. In the Patterns list, select the Talend Studio database pattern against which you want to check addresses from the Email column, Email Address in this example.
    If you select the Custom pattern check box, you can customize the regular expression against which the data is to be checked.
  7. Double click tLogRow to open its Basic settings view and define its properties as needed.