crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-239) Add support for unions of PTypes
Date Wed, 08 Jan 2014 13:49:51 GMT


Micah Whitacre commented on CRUNCH-239:

My current train of thought is that if Union doesn't implement Tuple then you don't have to
implement methods like size() which return an awkward value or implement a method that most
people will not really use.  So it is not really cognitive overhead but simplification.

> Add support for unions of PTypes
> --------------------------------
>                 Key: CRUNCH-239
>                 URL:
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>         Attachments: CRUNCH-239.patch
> There are a few core use cases (e.g., cogroups, as in CRUNCH-174) where it would be useful
to construct a union of multiple PTypes into a single PType, where any given observation could
only be of one of multiple/optional types.

This message was sent by Atlassian JIRA

View raw message