Configuring the tPigCode component - 7.0

Pig

EnrichVersion
7.0
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Open Studio for Big Data
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
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

Procedure

  1. Double-click tPigCode component to open its Basic settings view.
  2. Click Sync columns to retrieve the schema structure from the preceding component.
  3. Fill in the Script Code field with following expression:
    tPigCode_1_row2_RESULT = foreach tPigLoad_1_row1_RESULT generate $0 as name;
    This filter expression selects column Name from CustomerList.