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.
On Sat, Feb 4, 2012 at 5:59 PM, Russell Jurney <[EMAIL PROTECTED]>wrote:
> 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., org.apache.pig.impl.builtin.]
> I don't like. I have taken a moral oauth to move my Pig to lowercase, and
> this is messing it up.
> Russell Jurney
> [EMAIL PROTECTED]