Retrieving the inserted employee data from MySQL

SCD

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Data Integration
Talend Open Studio for Big Data
Talend Data Fabric
Talend Big Data Platform
Talend Open Studio for Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Talend ESB
task
Design and Development > Third-party systems > Business Intelligence components > SCD components
Data Governance > Third-party systems > Business Intelligence components > SCD components
Data Quality and Preparation > Third-party systems > Business Intelligence components > SCD components
EnrichPlatform
Talend Studio
Configure the first tMysqlInput component and the first tLogRow component to retrieve the inserted employee data from the MySQL SCD table and display it on the console.

Procedure

  1. Double-click the tMysqlInput component to open its Basic settings view.
  2. Select the Use an existing connection check box and from the Component List drop-down list displayed, select the connection component you have configured.
  3. In the Table Name field, enter the name of the table from which the employee data will be retrieved. In this example, it is employee_scd.
  4. Open the schema editor of the tMysqlSCD component, select and copy all its schema columns, then open the schema editor of the tMysqlInput component, define its schema by pasting those schema columns you have copied from the tMysqlSCD component.
    When done, click OK to save the changes. In the pop-up dialog box, click Yes to propagate the schema to the next component.
  5. Click the Guess Query button to fill the Query field with the automatically generated SQL query that will extract data of all columns from the specified table.
  6. Double-click the first tLogRow component to open its Basic settings view. In the Mode area, select Table (print values in cells of a table) for better readability of the result displayed on the console.