Skip to content
Example Pig Script for blog post on
Branch: master
Clone or download
Latest commit ab3f1d2 Jul 2, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Jul 2, 2015
leads.csv Add leads data May 16, 2015
leads_concat.pig Header and file extension Jun 25, 2015
population-parser.pig Added files Mar 22, 2015
population-sum.pig New data and code Apr 11, 2015
population.csv Added files Mar 22, 2015
titanic_passenger_list.csv Header and file extension Jun 25, 2015


Learning to do ETL in Hadoop is complex and time consuming but not with Pig. Pig gives developers a SQL-Like languege to run MapReduce jobs that transform data for complex analysis. If you a curious about learning Pig then walk-through the demos in this project on

Example using Average Function in Pig Latin

Source code for example pig script tutorial.

You can’t perform that action at this time.