Preparing directors file metadata - 6.3

Talend Open Studio for Data Integration Getting Started Guide

Talend Open Studio for Data Integration
Design and Development
Installation and Upgrade
Talend Studio

This procedure shows how to set up the metadata of the reference file directors.txt in the Repository. This metadata item will be used to add and set up the lookup input in this scenario.


  • You have the file directors.txt ready in the directory C:\getting_started\input_data\.

  1. In the Repository tree view, expand the Metadata node, right-click File delimited, and select Create file delimited from the contextual menu to open the [New Delimited File] wizard.

  2. In the [New Delimited File] wizard enter a name for the file metadata, directors in this example, and other useful information to better describe your file metadata. Then, click Next to go to the next step and define the general properties of the file.

  3. In the File field specify the path of the source file, C:/getting_started/input_data/directors.txt in this example, or click Browse to browse to the file.

    The File Viewer area displays an abstract of the file, allowing you to check the file consistency, the presence of a header and the structure of the file.

  4. Select Windows from the Format list, and click Next to parse the file.

  5. From the Field Separator list of the File Settings area, select Comma.

  6. Click Next to go to retrieve the file schema.

    The Description of the Schema table displays the generated file schema.

  7. Name the schema directors_schema and rename the columns to directorID and directorName respectively, and change the data type of the directorID columns from Integer to String.

  8. Click Finish to close the wizard.

    The created file metadata is shown in the Repository tree view.

You now have the directors file metadata ready for use when you set up the component to read the reference file.