Prashanth Pappu
Tue, 13 May 2008 15:15:50 -0700
Writing the UDF was simple enough. How do I contribute the code back to Pig? Another question - I often find that the command 'illustrate' runs into more heap space issues than a brute-force dump command. Isn't that contrary to the goal of the Illustrate command - that it should pick a smaller data-set, use lesser memory/cpu and finish faster? Prashanth On Mon, May 12, 2008 at 5:24 PM, Arun C Murthy <[EMAIL PROTECTED]> wrote: > > On May 12, 2008, at 4:35 PM, pi song wrote: > > Sorry I'm stupid. FLOOR, CEIL are not aggregate. You have to write a UDF. > > > > > And if you do write one, please contribute it back to Pig! *smile* > > Arun > > > On 5/13/08, pi song <[EMAIL PROTECTED]> wrote: > > > > > > > > I'm sorry to say we don't have FLOOR, CEIL at the moment but I guest > > > you > > > use MIN/MAX and apply a bit. > > > > > > On 5/13/08, Prashanth Pappu <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > I need to use the equivalents of SQL functions FLOOR, CEIL etc in a > > > > few > > > > PIG > > > > queries. > > > > And I'm looking for a list of complete PIG supported functions. > > > > > > > > Is there any such documentation? Else, does anyone know if these > > > > functions > > > > are supported? > > > > > > > > Prashanth > > > > > > > > > > > > > > >