We used to have a cookbook. http://pig.apache.org/docs/r0.7.0/cookbook.htmlBut cant find similar link for 0.8/0.9
Ashutosh On Thu, Nov 10, 2011 at 00:34, Daniel Dai <[email protected]> wrote: > Sounds like a good candidate for Piggybank for Macro. We don't have it yet > and hopefully we can have it soon. > > Currently you can drop your code to FAQ ( > https://cwiki.apache.org/confluence/display/PIG/FAQ). If we have > significant number of recipe, we can move them to a separate section in > cwiki. > > Daniel > > On Wed, Nov 9, 2011 at 6:32 PM, Doug Daniels <[email protected] > >wrote: > > > I was just working on a pig script to group some data by a field and then > > generate percentages for each group. Without windowing functions at my > > disposal, I wound up using a group by on the field for the numerator, a > > group all for the denominator, and a cross to pull them together. > > > > Afterward, I found myself wanting to drop that snippet somewhere that > > other folks could use it, or (even better) to have found a snippet in the > > first place and not had to write it! > > > > So I was thinking it'd be great to have a "pig cookbook" online with > > common operations that people do with pig. Does anything like that exist > > yet? If not, where would be a good place for it? > > > > Best, > > Doug > > >
