crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-561) Scrunch case classes fail in the REPL
Date Mon, 21 Sep 2015 13:16:04 GMT


Tom White updated CRUNCH-561:
    Attachment: CRUNCH-561.patch

Attaching a patch written by [~sowen], which fixes the issue for me when I try it manually.
I also had to run the following in the REPL, to workaround [a problem with calling getSimpleName()
on Scala classes defined in the REPL|]: 

intp.isettings.unwrapStrings = false

Not sure how to add a unit test for the REPL, but the existing test for case classes still

> Scrunch case classes fail in the REPL
> -------------------------------------
>                 Key: CRUNCH-561
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>          Components: Scrunch
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Attachments: CRUNCH-561.patch
> Calling {{Avros.caseClasses[MyReplClass]}} where {{MyReplClass}} was defined in the REPL
throws a {{ClassNotFoundException}}.

This message was sent by Atlassian JIRA

View raw message