[
https://issues.apache.org/jira/browse/AVRO-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912649#action_12912649
]
Doug Cutting commented on AVRO-671:
-----------------------------------
Rather, this should be fixed in Schema.java. A name is not meant to contain
such characters:
http://avro.apache.org/docs/current/spec.html#Names
So we should probably add a check into schema construction and throw an
exception if a name contains invalid characters.
> SpecificCompiler generates invalid Java code for invalid identifiers
> --------------------------------------------------------------------
>
> Key: AVRO-671
> URL: https://issues.apache.org/jira/browse/AVRO-671
> Project: Avro
> Issue Type: Bug
> Reporter: Ron Bodkin
> Attachments: AVRO-671-r2.patch, AVRO-671.patch
>
>
> e.g., if you have a field named "a.b" it will attempt to generate Java code
> with a field named a.b.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.