crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Baugher <bjb...@gmail.com>
Subject Convert PCollection<Pair<..>> to PTable<..>
Date Mon, 04 May 2015 22:59:13 GMT
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)

Mime
View raw message