Milind Bhandarkar commented on PIG-832:

Olga, what I am saying is to have a default import list: which contains default 
UDFs (tokenize, Max, Min, flatten), followed by piggybank contribs. And the 
same list can be added to / overridden on the command-line. This has several 
advantages. Pig built-ins do not have to be reserved words, and can be 
overridden. For example, recent mails on pig-users have mentioned that 
tokenize+flatten should be a single udf. This can be done by providing a 
flatten (which is null), and tokenize, which does tokenize+flatten, and 
existing scripts will still work. This simplifies pig grammar as well. Users 
can create udf libraries, and use them with:

java -Dimport.list += `cat my-udf-lib.import`

Thoughts ?

> Make import list configurable
> -----------------------------
>                 Key: PIG-832
>                 URL: https://issues.apache.org/jira/browse/PIG-832
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.2.0
>            Reporter: Olga Natkovich
>            Assignee: Daniel Dai
>             Fix For: 0.3.0
> Currently, it is hardwired in PigContext.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to