Source: http://kodu.ut.ee/~srirama/publications/theses/LargeScaleDataAnalysisUsingApachePig_Jurmo.pdf