Re: ConvertJSONToAvro floating point / double errors

2016-04-08 Thread Conrad Crampton
I think I had the same or similar problem (with earlier version) and couldn’t get a direct Json->Avro to work with any Json numerical type. I ended up working around by having the Avro schema data types being String only and then doing a ConvertAvroSchema to move from the string only schema to

ConvertJSONToAvro floating point / double errors

2016-04-07 Thread Samuel Piercy
In Nifi 0.6.0 with Java 1.7, the conversion of JSON data to Avro appears to reject the floating point values (both float and double). Using the ConvertJSONToAvro processor and the following examples causes errors. Sample Avro Schema: {"name": " sample_float_avro", "type": "record", "fields":