crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-403) Allow underscores in field names for Scrunch reflection classes
Date Tue, 27 May 2014 19:36:02 GMT

     [ 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)

Mime
View raw message