Setting the mapping conditions

Pig

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Open Studio for Big Data
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Processing components (Integration) > Pig components
Data Quality and Preparation > Third-party systems > Processing components (Integration) > Pig components
Design and Development > Third-party systems > Processing components (Integration) > Pig components
EnrichPlatform
Talend Studio

Procedure

  1. On the lookup flow table, click the button to open the setting panel in this table.
  2. In the Join Model row, select Left Outer Join to ensure that every record of the main flow is included in this join.
  3. On the out1 output flow table, click the button to display the editing field for the filter expression.
  4. Enter 'normal'== row1.traffic
    This allows tPigMap to output only the traffic records reading normal in the out1 flow.
  5. On the reject output flow table, click the button to open the setting panel.
  6. In the Catch Output Reject row, select true to output the traffic records reading jam in the reject flow.
  7. Click Apply, then click OK to validate these changes and accept the propagation prompted by the pop-up dialog box.