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 23:12:29 GMT
On 12/07/2011 02:40 PM, Francois Forster wrote:
> It seems to work when I do the reverse (add @aliases(["v2.Result"]) to the v1 schema),
but that's not useful when dealing with versioning.

Note that you could programmatically add the alias, e.g.:


So you don't actually have to change the stored data.


View raw message