Configuring the components - 6.1

Talend Big Data Studio User Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
task
Design and Development
EnrichPlatform
Talend Studio
  1. Then double-click to open the tMysqlInput component Basic settings view.

  2. Fill the Host, Port, Database, Username, Password, and Table Name fields with the relevant variables defined in the Contexts tab view: context.host, context.port, context.database, context.username, and context.password respectively in this example.

  3. Fill the Table Name field with employees, which is the name of the table holding employees information in both databases in our example.

  4. Then fill in the Schema information. If you stored the schema in the Repository, then you can retrieve it by selecting Repository and the relevant entry in the list.

    In this example, the schema of both the database tables to read is made of six columns: id (INT, 2 characters long), name (VARCHAR, 20 characters long), email (VARCHAR, 25 characters long), sex (VARCHAR, 1 characters long), department (VARCHAR, 10 characters long), and position (VARCHAR, 10 characters long).

  5. Click Guess Query to retrieve all the table columns, which will be displayed on the Run tab, through the tLogRow component.

  6. In the Basic settings view of the tLogRow component, select the Table option to display data records in the form of a table.