Jed Robertson created AVRO-3244:
-----------------------------------
Summary: C++ Consumers cannot deserialise new enum values as per
specification
Key: AVRO-3244
URL: https://issues.apache.org/jira/browse/AVRO-3244
Project: Apache Avro
Issue Type: Bug
Components: c++
Affects Versions: 1.10.2
Environment: C++
Reporter: Jed Robertson
[AVRO-1340] use default to allow old readers to specify default enum value when
encountering new enum symbols - ASF JIRA (apache.org) describes a useful change
made a few years ago in Avro, such that enums could be expanded (an additional
value(s) added) without breaking compatibility - old consumers would simply
default to the default value for that enum.
Unfortunately, in C++, it appears this logic is not implemented and the
consumer cannot process messages containing new enum values until it is updated.
I have: Reviewed issues related to enums, reviewied mailing list emails related
to "enum" and not found any prior discussion of this issue
--
This message was sent by Atlassian Jira
(v8.3.4#803005)