Configuring the tPigCode component - 7.2

Pig

author
EnrichVersion
7.2
task

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.