Arun C Murthy
Tue, 13 May 2008 15:44:52 -0700
On May 13, 2008, at 3:15 PM, Prashanth Pappu wrote:
Writing the UDF was simple enough. How do I contribute the code back to Pig?
Please open a new jira (https://issues.apache.org/jira/secure/ CreateIssue!default.jspa) and attach your patch there... thanks!
Arun PS: You will need a jira a/c to create a new jira.
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? PrashanthOn Mon, May 12, 2008 at 5:24 PM, Arun C Murthy <[EMAIL PROTECTED] inc.com> 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 guestyou 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 afew 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