Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.7, 1.8.1
-
None
-
Incompatible change, Reviewed
-
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.
Description
According to specification, 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.
Attachments
Attachments
Issue Links
- is related to
-
AVRO-1933 SchemaCompatibility class could be more user-friendly about incompatibilities
- Resolved