avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamesh Kompella <kam...@chooxy.com>
Subject Re: Issue while converting json to avro
Date Mon, 07 Nov 2016 03:36:56 GMT
How are you doing the conversion? Can you supply the Avro schema that you are using?

Regards
Kamesh

> On Nov 4, 2016, at 5:10 AM, Anand K <anand.ios.android@gmail.com> wrote:
> 
> Hello,
> 
> I am getting this issue while converting json to avro. PFA my sample files, please help
me out as to how can I achieve this.
> 
> 
> Exception in thread "main" org.apache.avro.AvroTypeException: Expected start-union. Got
VALUE_STRING
> 
> 
> 
> 
> 
> Thank you,
> Anand
> <test.json>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message