avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Szadovszky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-2072) ResolvingGrammarGenerator doesn't implement schema resolution correctly for unions
Date Mon, 11 Sep 2017 12:32:00 GMT

    [ https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161149#comment-16161149
] 

Gabor Szadovszky commented on AVRO-2072:
----------------------------------------

+1
Will push it soon

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

Mime
View raw message