Scenario: Displaying the properties of a processed file - 6.3

Talend Open Studio for Big Data Components Reference Guide

EnrichVersion
6.3
EnrichProdName
Talend Open Studio for Big Data
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

This Java scenario describes a very simple Job that displays the properties of the specified file.

  1. Drop a tFileProperties component and a tLogRow component from the Palette onto the design workspace.

  2. Right-click on tFileProperties and connect it to tLogRow using a Main Row link.

  3. In the design workspace, select tFileProperties.

  4. Click the Component tab to define the basic settings of tFileProperties.

  5. Set Schema type to Built-In.

  6. If desired, click the Edit schema button to see the read-only columns.

  7. In the File field, enter the file path or browse to the file you want to display the properties for.

  8. In the design workspace, select tLogRow and click the Component tab to define its basic settings. For more information, see tLogRow.

  9. Press F6 to execute the Job.

The properties of the defined file are displayed on the console.