Configuring tMap

Avro

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Big Data
Talend Real-Time Big Data Platform
Talend Big Data Platform
Talend Data Fabric
task
Design and Development > Third-party systems > File components (Integration) > Avro components
Data Quality and Preparation > Third-party systems > File components (Integration) > Avro components
Data Governance > Third-party systems > File components (Integration) > Avro components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click tMap to open the Map Editor.
  2. Drop the four columns of the input schema from the input side (left) into each of the output flows of the output side (right), that is to say, out1 and reject. This way the input flow and the output flows are mapped.
  3. In the table representing the out1 flow, click to display the filter editing area and enter the following expression to select the employee records that were registered before January 1st, 2008 (01-01-2008). row1.Reg_date.before( new Date(108,0,1))
  4. In the table representing the reject flow, click to display the property settings panel.
  5. In the Value field of the Catch output reject row, click the and select true in the pop-up dialog box. This allows you to output the records rejected by the out1 flow.
  6. Click OK to validate these changes and accept the propagation prompted by the pop-up dialog box.