crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Lewi (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-306) MultipleOutput Targets
Date Tue, 10 Dec 2013 00:46:07 GMT


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:
>             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

View raw message