Re: Help with Pig Script

2011-11-17 Thread Jeremy Hanna
On Nov 17, 2011, at 1:44 PM, Aaron Griffith wrote: > Jeremy Hanna gmail.com> writes: > >> >> If you are only interested in loading one row, why do you need to use Pig? >> Is > it an extremely wide row? >> >> Unless you are using an ordered partitioner, you can't limit the rows you > mapre

Re: Help with Pig Script

2011-11-17 Thread Aaron Griffith
Jeremy Hanna gmail.com> writes: > > If you are only interested in loading one row, why do you need to use Pig? > Is it an extremely wide row? > > Unless you are using an ordered partitioner, you can't limit the rows you mapreduce over currently - you > have to mapreduce over the whole colum

Re: Help with Pig Script

2011-11-17 Thread Jeremy Hanna
If you are only interested in loading one row, why do you need to use Pig? Is it an extremely wide row? Unless you are using an ordered partitioner, you can't limit the rows you mapreduce over currently - you have to mapreduce over the whole column family. That will change probably in 1.1. H

Help with Pig Script

2011-11-17 Thread Aaron Griffith
I am trying to do the following with a PIG script and am having trouble finding the correct syntax. - I want to use the LOAD function to load a single key/value "row" into a pig object. - The contents of that row is then flattened into a list of keys. - I then want to use that list of keys for a