avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arne Vogel <avo...@benocs.com>
Subject Re: Project renamed fields on readers with old schema
Date Mon, 04 Apr 2016 17:52:29 GMT
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


Mime
View raw message