Re: Show functions

2012-02-04 Thread Prashant Kommireddi
Great. Look forward to discussing this on Jira. Sent from my iPhone On Feb 4, 2012, at 8:56 PM, Russell Jurney wrote: > I generally flake on my Pig commitments, but I'm up for adding a help > command. > > On Sat, Feb 4, 2012 at 6:46 PM, Prashant Kommireddi > wrote: > >> Russell, Pig does have

Re: Show functions

2012-02-04 Thread Russell Jurney
I generally flake on my Pig commitments, but I'm up for adding a help command. On Sat, Feb 4, 2012 at 6:46 PM, Prashant Kommireddi wrote: > Russell, Pig does have a help command "pig -h". This is more of an > option level help, and not for UDFs. > > I agree we should have a command that prints th

Re: Show functions

2012-02-04 Thread Prashant Kommireddi
Russell, Pig does have a help command "pig -h". This is more of an option level help, and not for UDFs. I agree we should have a command that prints the list of available UDFs based on the registered jars. Sent from my iPhone On Feb 4, 2012, at 8:35 PM, Russell Jurney wrote: > Does Pig have a

Re: Show functions

2012-02-04 Thread Russell Jurney
Does Pig have a help command? Russell Jurney twitter.com/rjurney russell.jur...@gmail.com datasyndrome.com On Feb 4, 2012, at 6:26 PM, Aniket Mokashi wrote: > Is there a show functions equivalent in pig that can display all available > functions to the user? > I couldnt find this with a quick s

Re: LOWER

2012-02-04 Thread Aniket Mokashi
I think pig UDFs are just classnames (case sensitive, LOWER is all capitals in built-in). Are you suggesting to add something like function registry to pig? That would be a good idea. As a workaround (or solution), we have pigrc and pigbootup to rename functions. Thanks, Aniket On Sat, Feb 4, 201

LOWER

2012-02-04 Thread Russell Jurney
Is it me, or is it weird that builtins like LOWER only work in lowercase? pairs = FOREACH flat GENERATE lower(from) AS from, lower(to) AS to, date; 2012-02-04 17:57:53,851 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve lower using imports: [, org.apache.pig.builtin.