Example - 6.5

Talend Job Script Reference Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development > Designing Jobs
EnrichPlatform
Talend CommandLine
Talend Studio

In the following example, the tFileInputDelimited component is configured to:

  • read data from a file named people.txt

  • skip the first row of the input file

  • trim the name column

  • have a label people

setSettings {
    FILENAME : "\"D:/Data/Input/people.txt\"",  
    HEADER : "1",
    TRIMSELECT {  
        SCHEMA_COLUMN : "name",
        TRIM : "true",
        SCHEMA_COLUMN : "age",
        TRIM : "false"
        },
    LABEL : "people"
}