[
https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162578#comment-16162578
]
ASF subversion and git services commented on AVRO-2072:
-------------------------------------------------------
Commit 50eebb8a0b96565641bb56a0f11e326b3f5cc50b in avro's branch
refs/heads/master from [~nkollar]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=50eebb8 ]
AVRO-2072: ResolvingGrammarGenerator doesn't implement schema resolution
correctly for unions
Signed-off-by: Anders Sundelin <[email protected]>
Signed-off-by: Gabor Szadovszky <[email protected]>
> ResolvingGrammarGenerator doesn't implement schema resolution correctly for
> unions
> ----------------------------------------------------------------------------------
>
> Key: AVRO-2072
> URL: https://issues.apache.org/jira/browse/AVRO-2072
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.7, 1.8.1
> Reporter: Nandor Kollar
> Assignee: Nandor Kollar
> Attachments: 0001-AVRO-1931-Additional-test-cases.patch,
> AVRO-2072_2.patch, AVRO-2072_3.patch, AVRO-2072.patch
>
>
> According to
> [specification|https://avro.apache.org/docs/current/spec.html#Schema+Resolution],
> int and long is promotable to float, but when using SchemaValidator, a union
> with a single int or long branch is not readable by an union with a float
> branch.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)