Patrick Haas created AVRO-2152:
----------------------------------

             Summary: JsonDecoder fails when reading record with aliases inside 
union
                 Key: AVRO-2152
                 URL: https://issues.apache.org/jira/browse/AVRO-2152
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.8.2
         Environment: JDK 1.8

Avro 1.8.2
            Reporter: Patrick Haas
         Attachments: JsonDecoderAliasesInUnion.java

{{The JsonDecoder only handles aliases at the "top level" or "field level". 
Aliased records within a union fail with an "Unknown union branch" 
AvroTypeException.}}

 

The same writer/read schema combination works fine with the binaryEncoder, and 
the two schemas are considered a COMPATIBLE by the SchemaCompatibility check.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to