[ 
https://issues.apache.org/jira/browse/CRUNCH-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843769#comment-13843769
 ] 

Jeremy Lewi commented on CRUNCH-306:
------------------------------------

For my particular use case (Contrail) a PGroupedTable which writes each key to 
a different instance of the target is sufficient.

My PGrouped table will be a mapping:  String key->Array(Avro Records).  I want 
the records associated with each key to be written to file named something like 
"key.avro".  A nice feature would be able to supply a function which computes 
the output file as a function of the key.


> MultipleOutput Targets
> ----------------------
>
>                 Key: CRUNCH-306
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-306
>             Project: Crunch
>          Issue Type: Bug
>          Components: IO
>            Reporter: Josh Wills
>
> A commonly desired feature for Crunch is the ability to write an output file 
> for each key in a PTable/PGroupedTable containing the values associated with 
> that key. We should find a way to support that one-output-per-key model.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to