Configuring tPigSort

Pig

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

About this task

Two tPigSort components are used to sort the two identical output flows: one based on the Name column and the other on the State column.

Procedure

  1. Double-click the first tPigSort component to open its Component view to define the sorting by name.
  2. In the Sort key table, add one row by clicking the button under this table.
  3. In the Column column, select Name from the drop-down list and select ASC in the Order column.
  4. Double-click the other tPigSort to open its Component view to define the sorting by state.
  5. In the Sort key table, add one row, then select Name from the drop-down list in the Column column and select ASC in the Order column.