A general caveat
Thursday, February 24, 2011
10:25 AM
A general caveat
In Perl, we say
"There is always another way to do it."
In Pig, I have learned
"There is always an easier way to do it."
My first conception of how to solve each of the following problems was extremely inefficient, and only by changing my entire approach could I unleash the power of Pig. 
… even though I am expert in traditional dataflow and functional programming…
So, 
Pig programs are really short, but
if you get on the wrong track,
expect to throw the entire program away. 
You have been warned!