I have an Avro schema that has a field with an enum type. However, I have realized that an enum is not the type I actually wanted. I would much rather have the type of the field be a string. I went to change this, but of course this type of change (enum -> string) is not within the bounds of Avro's schema evolution. Therefore a reader with this changed schema is not be able to read an object written with the old schema.
Would an enum -> string "promotion" be possible to add the promotion rules in the Avro spec (https://avro.apache.org/docs/current/spec.html#Schema+Resolution)?<https://avro.apache.org/docs/current/spec.html#Schema+Resolution%29?> Are there reasons that it is not already included? <http://www.exactearth.com>[cid:ee_gradient_tm_150wide.png@5784eb5d1c7a4a4b8b9cf3590e179136]<http://www.exactearth.com> Michael Overmeyer Software Developer, Software Systems | exactEarth Ltd. 60 Struck Ct. Cambridge, Ontario N1R 8L2 office. +1.519.622.4445 ext. 5805 email. [email protected] web. www.exactearth.com<http://www.exactearth.com> This e-mail and any attachment is for authorized use by the intended recipient(s) only. It contains proprietary or confidential information and is not to be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail, any attachment and all copies and inform the sender. Thank you. Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
