[
https://issues.apache.org/jira/browse/AVRO-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721696#comment-14721696
]
peter liu commented on AVRO-522:
--------------------------------
seems the issue has been fixed
{noformat}
LiuYanbos-MacBook:build liuyanbo$ cat test.json
{ "type" : "array", "name" : "optionals", "items" : [ "long", "long" ] }
LiuYanbos-MacBook:build liuyanbo$ ./avrogencpp -i test.json -o test.hh
Failed to parse or compile schema: Schema is invalid, due to bad node of type
union
{noformat}
> the rule on unions containing identical types are not enforced
> --------------------------------------------------------------
>
> Key: AVRO-522
> URL: https://issues.apache.org/jira/browse/AVRO-522
> Project: Avro
> Issue Type: Bug
> Components: c++
> Reporter: John Plevyak
>
> {
> "type" : "array",
> "name" : "optionals",
> "items" : [ "long", "long" ]
> }
> is accepted despite being illegal by the combination of precompile and
> gen-cppcode.py
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)