I believe you could accomplish this but creating PCollections for each of the key/values you want to persist and then writing[1] the PCollections out to whichever directories makes the most sense.
[1] - http://crunch.apache.org/apidocs/0.7.0/org/apache/crunch/Pipeline.html#write(org.apache.crunch.PCollection, org.apache.crunch.Target) On Wed, Aug 7, 2013 at 3:31 AM, Mridul Das <[email protected]> wrote: > Hi, > MultipleOutputs enable us to generate custom file names base on > keys/values. > How do we achieve this in Crunch? > > Regards, > Mridul >
