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

Switch to Threaded View
Pig >> mail # user >> Re-assign relation name

Copy link to this message
Re: Re-assign relation name
On Fri, Sep 2, 2011 at 11:26 AM, ugo jardonnet <[EMAIL PROTECTED]> wrote:
> Is it safe and efficient to re-use relation names with pig >= 0.8.1:
> A = load 'NYSE_dividends' (exchange, symbol, date, dividends);
> A = filter A by dividends > 0;

It's safe, but not usually recommended.  Take a look at:


In your example, Pig loses track of the original A.