crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Shi (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-315) Empty collection
Date Thu, 26 Dec 2013 11:11:50 GMT


Chao Shi commented on CRUNCH-315:

A step further from empty PCollection: we can also add in-memory PCollection. A user can construct
a small PCollection simply providing a java.util.Collection. I don't know if this is useful.
Just write down here for completeness.

> Empty collection
> ----------------
>                 Key: CRUNCH-315
>                 URL:
>             Project: Crunch
>          Issue Type: New Feature
>            Reporter: Chao Shi
> As discussed in the mailing list [1] and [2], I'd like to add an empty collection feature.
On the API side, I think we can add a new method in Pipeline to create an empty collection.
The collection should be a subclass of PCollection and behaves like other normal PCollecitons.
There are also some optimization points that Josh mentioned in [2].
> I haven't thought it clearly. Just put a ticket here and see if anyone else has a better
> [1]
> [2]

This message was sent by Atlassian JIRA

View raw message