Double-click tPigFilterColumns to open
its Basic settings view.
Click the [...] button next to Edit schema to open the Schema dialog box.
From the input schema, select the columns you want to include in your
result file by clicking them one after another while pressing the Shift key, and click the
-> button to copy them to the output schema. Then, click
OK to validate the schema setting and
close the dialog box.
In this example, we want the result file to include all the information except the group IDs.
Double-click tPigStoreResult to open its
Basic settings view.
- Click Sync columns to retrieve the schema structure from the preceding component.
- Fill in the Result file field with the full path to the result file, and select the Remove result file directory if exists check box.
- Select PigStorage from the Store function list, and leave rest of the settings as they are.