Double-click tPigLoad to open its
Basic settings view.
Click the three-dot button next to Edit
schema to add columns for tPigLoad.
- Click the plus button to add Name, Country and Age and click OK to save the setting.
- Select Local from the Mode area.
Fill in the Input filename field with the
full path to the input file.
In this scenario, the input file is CustomerList which contains rows of names, country names and age.
- Select PigStorage from the Load function list.
- Leave rest of the settings as they are.