Michiel Mertens created AVRO-2736:
-------------------------------------

             Summary: Avro-cpp schema resolution fails on complex union type
                 Key: AVRO-2736
                 URL: https://issues.apache.org/jira/browse/AVRO-2736
             Project: Apache Avro
          Issue Type: Bug
          Components: c++
    Affects Versions: 1.9.1
         Environment: ubuntu 18.04
            Reporter: Michiel Mertens
         Attachments: ControllerLog.avro.json

When using the attached JSON schema, we can encode/decode without problems.

When i promote BurstInfo:demodId from int to long, decoding fails on old files.

I get the following exception
{noformat}
Invalid operation. Schema requires: Union, got: Record 

{noformat}
It seems that the resolving decoder is resolving correctly, but the exception 
is throw during parsing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to