crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-473) Use specific class type for case class serialization
Date Fri, 03 Oct 2014 02:41:33 GMT


Josh Wills updated CRUNCH-473:
    Attachment: CRUNCH-473.patch

Patch for this w/tests updated to exercise it.

> Use specific class type for case class serialization
> ----------------------------------------------------
>                 Key: CRUNCH-473
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Josh Wills
>         Attachments: CRUNCH-473.patch
> Just ran into a bug involving serializing case classes that contain arrays of other case
classes: in that situation, we deserialize the nested array as an Array[Product] instead of
Array[SpecificCaseClass]. The fix is pretty easy, we just need to use the actual runtime class
(i.e., Class[SpecificCaseClass]) as the basis of the PType, instead of Class[Product].

This message was sent by Atlassian JIRA

View raw message