Reading the sample data into the Job - 6.4

Global variable

author
Talend Documentation Team
EnrichVersion
6.4
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 Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Custom code components (Integration) > Global variable components
Data Quality and Preparation > Third-party systems > Custom code components (Integration) > Global variable components
Design and Development > Third-party systems > Custom code components (Integration) > Global variable components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click either of the two tHDFSInput components to display its Basic settings view.
    Since these two tHDFSInput components are used to read the same source data and are configured the same way. You need to configure both of them using the procedure explained in this section.
  2. Click the [...] button next to Edit schema to open the schema editor.
  3. Click the [+] button three times to add three rows and in the Column column, rename them to id, name and salary, respectively.
  4. In the Type column of the salary row, select Double.
  5. Click OK to validate these changes and accept the propagation prompted by the pop-up dialog box.
  6. In the Folder/File field, browse to the sample data to be processed in the HDFS system.
  7. In the File type area, select Text file from the Type list.
  8. In the Field separator field, enter \t.