Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> distributing macros in a jar?

Copy link to this message
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.


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