You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2014/05/27 21:36:02 UTC

[jira] [Updated] (CRUNCH-403) Allow underscores in field names for Scrunch reflection classes

     [ https://issues.apache.org/jira/browse/CRUNCH-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Wills updated CRUNCH-403:
------------------------------

    Attachment: CRUNCH-403.patch

Patch to make the substitution for "$" be "___" instead of "_", which should cut down on the harm of this somewhat.

> Allow underscores in field names for Scrunch reflection classes
> ---------------------------------------------------------------
>
>                 Key: CRUNCH-403
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-403
>             Project: Crunch
>          Issue Type: Bug
>          Components: Scrunch
>            Reporter: Josh Wills
>         Attachments: CRUNCH-403.patch
>
>
> Avro doesn't support '$' chars in record definitions, so we currently swap them out with '_' everywhere they occur as part of the Scala reflection code. This of course is a problem for fields that are defined using underscores (e.g., page_rank) inside of reflected classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)