Skip to main content Skip to complementary content

Step 3: Mapping the data using the tMap component

Procedure

  1. Drop a tMap component onto the design workspace, and double-click it to open the Basic settings view to set its properties.
    Screenshot of the component basic settings.
  2. Click the three-dot button next to Map Editor to open a dialog box to set the mapping.
  3. Click the plus button on the left to add six columns for the schema of the incoming data. These columns should be the same as the following:
    Screenshot of the schema with the following columns: a column id of type Integer, a column CustomerName of type String, a column CustomerAge of type Integer, a column CustomerAddress of type String, a column CustomerCity of type String, and a column RegisterTime of type Date.
  4. Click the plus button on the right to add a schema of the outgoing data flow.
  5. Select New output and click OK to save the output schema.

    For the time being, the output schema is still empty.

  6. Click the plus button beneath the out1 table to add three columns for the output data.
    Screenshot of the Map Editor with three columns defined.
  7. Drop the id, CustomerName and CustomerAge columns onto their respective line on the right.
    Screenshot of the column mappings.
  8. Click OK to save the settings.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!