org.apache.crunch.lib.PTables.asPTable.

On Tue, May 5, 2015 at 12:59 AM, Bryan Baugher <[email protected]> wrote:

> I was using the Shard.shard(..)[1] API to shard a PTable which gave me a
> PCollection<Pair<..>>. I want to get the PTable back. Whats the best way to
> do this? Should I write a DoFn myself or is there something already there?
>
> Bryan
>
> [1] -
> http://crunch.apache.org/apidocs/0.11.0/org/apache/crunch/lib/Shard.html#shard(org.apache.crunch.PCollection,
> int)
>



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

Reply via email to