tFileInputDelimited example
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"
}