The Pig load/store API is aligned with Hadoop’s InputFormat and OutputFormat classes. This enables you to create new LoadFunc and…
Filter functions are eval functions that return a boolean value. Filter functions can be used anywhere a Boolean expression is…
An aggregate function is an eval function that takes a bag and returns a scalar value. One interesting and useful…
Eval is the most common type of function. It can be used in FOREACH statements.Lets take an example Input Data…
Below are the pointers which can be considered to optimize a pig script 1. If types are not specified in…
Load/Store functions determine how data goes into Pig and comes out of Pig. Pig provides a set of built-in load/store…
AVG Use the AVG function to compute the average of the numeric values in a single-column bag. AVG requires a…