[ 
https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anders Sundelin updated AVRO-2072:
----------------------------------
    Attachment: 0001-AVRO-1931-Additional-test-cases.patch

Attached the additional test cases (compared with current Avro master), that I 
forgot in PR for AVRO-1931 (but was included in the JIRA patch for said issue).
Note! I have not modified your original AVRO-2072 patch, so it is likely that 
these tests will break when applied on AVRO-2072 patch (as indicated by Zoltan 
Farkas in above comment)

> 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
>            Reporter: Nandor Kollar
>            Assignee: Nandor Kollar
>         Attachments: 0001-AVRO-1931-Additional-test-cases.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)

Reply via email to