[
https://issues.apache.org/jira/browse/AVRO-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Szadovszky updated AVRO-2072:
-----------------------------------
Hadoop Flags: Incompatible change
Release Note: However, schema resolution is now working according to spec
it is a backward incompatible change in the behaviour that int is promotable to
float (in addition to long and double) and log to float (in addition to double)
when used in unions.
> 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)