Re: how to set one var equal to another

2012-03-10 Thread Aniket Mokashi
Hi Colleen, I'm not sure whats your use case, but you may want to watch https://issues.apache.org/jira/browse/PIG-438. Thanks, Aniket On Sat, Mar 10, 2012 at 11:33 AM, Jonathan Coveney wrote: > It's important to remember that the aliases to the left of the equals are > not variables, per se, t

Re: how to set one var equal to another

2012-03-10 Thread Jonathan Coveney
It's important to remember that the aliases to the left of the equals are not variables, per se, they represent relations, which is basically a bunch of data. You can achieve what you want by doing: subjects2 = foreach subjects1 generate *; As far as doing something like: subjects 2 = dump subje

how to set one var equal to another

2012-03-10 Thread Colleen Ross
I tried to subscribe but a mail client box came up, not what I wanted, so we'll see if this works. I wrote this script: register s3n://uw-cse344-code/myudfs.jar -- load the test file into Pig --raw = LOAD 's3n://uw-cse344-test/cse344-test-file' USING TextLoader as (line:chararray); -- later you