Re: Issue with ValidateRecord processor and Avro map data type

2018-10-10 Thread Maxime Jattiot
s" : "string" } } ] } And here is the JSON message : [{ "field1": { "toto" : "v1", "titi" : "v2" } }] On Wed, Oct 10, 2018 at 2:48 PM Bryan Bende wrote: > Hello, > > The screenshots did not com

Re: Issue with ValidateRecord processor and Avro map data type

2018-10-10 Thread Maxime Jattiot
;field1", > "type": { > "name" : "field1", > "type" : "record", > "fields" : [ > { "name": "toto", "type": "string" }, >

Re: Issue with ValidateRecord processor and Avro map data type

2018-10-10 Thread Maxime Jattiot
on/StandardSchemaValidator.java#L199 > [2] https://issues.apache.org/jira/browse/NIFI-5678 > > On Wed, Oct 10, 2018 at 10:19 AM Maxime Jattiot > wrote: > > > > Yes I made it worked with record type as well but I can't use a record > > because my field

Issue with ValidateRecord processor and Avro map data type

2018-10-10 Thread Maxime Jattiot
Hello everyone, I am having hard time to validate a simple JSON message with an Avro schema. My schema works with avro-tools but doesn't with ValidateRecord processor. I wish you could help me. - I am having the following debug log within Nifi : Record #1 is invalid due to: