incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-117) Custom subclasses of Tuple don't work with the TupleDeepCopier
Date Wed, 21 Nov 2012 20:11:58 GMT


Josh Wills commented on CRUNCH-117:

+1-- feel free to commit it. Thanks!
> Custom subclasses of Tuple don't work with the TupleDeepCopier
> --------------------------------------------------------------
>                 Key: CRUNCH-117
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.3.0, 0.4.0
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>             Fix For: 0.5.0
>         Attachments: CRUNCH-117b.patch, CRUNCH-117.patch
> We have the option of serializing custom classes that implement the Tuple interface using
the following method on PTypeFamily:
> PType<T> tuples(Class<T>, ...)
> These classes act somewhat like case classes in Scala, and can be used to give useful
semantics to something that would otherwise be a Tuple4<Integer, String, Double, Integer>
(or some such thing.) Right now, we have a bug in which the static TupleFactory.getTupleFactory
does not recognize these custom classes, and so they can't be used in a nested fashion with
the deep copier.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message