pig-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thejas M Nair <te...@yahoo-inc.com>
Subject Re: is reusing alias names in multiple foreach blocks safe?
Date Thu, 02 Dec 2010 22:07:24 GMT
Yes, that is safe.
-Thejas



On 12/2/10 2:03 PM, "Xiaomeng Wan" <shawnwan@gmail.com> wrote:

I just run a script in which I reuse some of the alias names in
different foreach blocks (by careless copying). it is like:

...
b = foreach a { x = ...; y = ...; ...}
...
i = foreach h { x = ...; y = ...; ...}

It finished and the results look ok. Can someone confirm that alias
names can be used repeatedly in different foreach blocks?

Regards,
Xiaomeng



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message