There is the length() method, which will return a PObject<Long> with the
number of elements in the PCollection. It requires running an MR job though.

J


On Mon, Feb 24, 2014 at 10:03 AM, Jinal Shah <[email protected]>wrote:

> Hi,
>
> Is there a way possible in crunch to find the size of a particular
> PCollection or PTable in whole.
>
> Thanks
> Jinal
>



-- 
Director of Data Science
Cloudera <http://www.cloudera.com>
Twitter: @josh_wills <http://twitter.com/josh_wills>

Reply via email to