Pig is a platform that has a very expressive language to perform data transformations and querying. The code that is written in Pig is done in a scripting manner and this gets compiled to MapReduce programs, which execute on Hadoop. The following image is the logo of Pig Latin:
Pig helps in reducing the complexity of raw-level MapReduce programs, and enables the user to perform fast transformations.
Pig Latin is the textual language that can be learned from http://pig.apache.org/docs/r0.7.0/piglatin_ref2.html.
We'll be covering how to perform the top 10 most occurring words with Pig, and then we'll see how you can create a function ...