Defining the properties of tHMapFile - 7.1

Data mapping

EnrichVersion
7.1
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
task
Data Governance > Third-party systems > Processing components (Integration) > Data mapping
Data Quality and Preparation > Third-party systems > Processing components (Integration) > Data mapping
Design and Development > Third-party systems > Processing components (Integration) > Data mapping

Procedure

  1. In the Job, select the tHMapFile component to define its properties.
  2. Select the Define a storage configuration component check box and then select the name of the component to use from those available in the drop-down list, tHDFSConfiguration_1 in this example.
    Note that if you leave the Define a storage configuration component check box unselected, you can only transform files locally.
  3. Click the [...] button and, in the Component Configuration window, click the Select button next to the Record Map field.
  4. In the Select a Map dialog box that opens, select the map you want to use and then click OK. In this example, use the json2xml map you just created.
  5. Click Next.
  6. Select an appropriate record delimitor for your data that tells the component where each new record begins.
    In this example, each record is on a new line, so select Separator and specify the newline character, \n in this example.
  7. Click Finish.
  8. Click the [...] button next to the Input field to define the path to the input file, /talend/input/gdelt.json in this example.
  9. Click the [...] button next to the Output field to define the path to where the output file is to be stored, /talend/output in this example.
  10. Leave the other settings unchanged.