[
https://issues.apache.org/jira/browse/CRUNCH-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865438#comment-13865438
]
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: https://issues.apache.org/jira/browse/CRUNCH-239
> 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
(v6.1.5#6160)