Friday, September 26, 2014

PIG examples

Pig Examples :

I am beginner to Apache Pig . Below are some pig example i have written for practice.
I did not find many example in net so thought it would be useful to share it .

WordCount : Count the number of occurrences of each word in a text file.
https://github.com/dhosakeri/Pig_Example/tree/master/WordCount

Maximum temperature: Calculate maximum recorded temperature for each year  .
https://github.com/dhosakeri/Pig_Example/tree/master/Maximum_Temperature

Number of Sub Patents : Calculate the number of sub-patents.
https://github.com/dhosakeri/Pig_Example/tree/master/Number_SubPatent

Student Results  : List out student names who have passed the exam.
https://github.com/dhosakeri/Pig_Example/tree/master/Student_Result