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/02/27 02:36:21 UTC
[jira] [Commented] (CRUNCH-358) Invalid optional field declaration
in person.avsc
[ https://issues.apache.org/jira/browse/CRUNCH-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913888#comment-13913888 ]
Josh Wills commented on CRUNCH-358:
-----------------------------------
Tom, I'm assuming you're in bed, so I'll take this one over and integrate it. Thanks!
> Invalid optional field declaration in person.avsc
> -------------------------------------------------
>
> Key: CRUNCH-358
> URL: https://issues.apache.org/jira/browse/CRUNCH-358
> Project: Crunch
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.9.0
> Reporter: Tom White
> Assignee: Tom White
> Attachments: CRUNCH-358.patch
>
>
> The siblingnames field in person.avsc has a default value of null, even though the first branch of the union is an array of string (not null). This is not a valid Avro schema (see AVRO-1449) and should be fixed by reversing the types in the union.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)