I filed a JIRA and attached a patch:

https://issues.apache.org/jira/browse/PIG-2850

-Matt
________________________________________
From: Alan Gates [[email protected]]
Sent: Friday, June 15, 2012 8:56 AM
To: [email protected]
Subject: Re: distributing macros in a jar?

It's definitely a reasonable thing to do, but it hasn't been added yet.  
Ideally registering a jar of macros would make them available, just as 
registering a jar of UDFs does.

Alan.

On Jun 7, 2012, at 6:13 PM, Matthew Hayes wrote:

> According to the documentation it looks like the only way to share macros is 
> through a file.  What about importing a macros file from a resource stored in 
> a jar?  Has this been considered?  I was thinking of sharing some macros with 
> the datafu library and it seems this would be a convenient way of doing it.
>
> Thanks,
> Matt

Reply via email to