You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Arne Vogel <av...@benocs.com> on 2016/04/04 19:52:29 UTC
Re: Project renamed fields on readers with old schema
On 20.03.2016 00:18, Vinicius Carvalho wrote:
[snip]
> Is there a way to project renamed fields on readers using old schema
> versions?
>
> Thanks
>
You could try making a v1 compatibility schema based on v2 but with the
field name "temperature" instead of "internalTemperature". Then the
ResolvingDecoder should be able to figure things out, assuming you use
the binary format.
Regards
Arne Vogel
--
BENOCS GMBH
Arne Vogel
Winterfeldtstr. 21
10781 Berlin
Email: avogel@benocs.com
www.benocs.com
Board of Management: Michael Wolz, Dr.-Ing. Oliver Holschke, Dr.-Ing. Ingmar Poese
Commercial Register: Amtsgericht Bonn HRB 19378