avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: AvroTypeException thrown with version change on optional record
Date Wed, 07 Dec 2011 22:15:10 GMT
On 12/07/2011 01:41 PM, Francois Forster wrote:
> Actually, it happens even if I don’t add isFeatured. Is there something
> incompatible due to the different namespace?

Changing the namespace is probably why this is failing.

If you need to change the namespace then you can use aliases:

protocol Service {
  record Result { ... }

This will make v2 be able to read v1.


View raw message