Member since
11-26-2018
2
Posts
0
Kudos Received
0
Solutions
11-26-2018
06:20 PM
@ Steven Matison I need a help in creating a Avro Schema for Nested JSON : My Example JSON in GenerateFlowFile : {
"ser" : {
"measureSeries" : {
"teNo" : "TE", "testStart" : "EE", "testEnd" : "EE"
} } } My Avro Nested Schema Validated in : https://json-schema-validator.herokuapp.com/avro.jsp {
"name":"devices",
"type":"record",
"fields": [
{
"name": "ser",
"type": {"type":"array","items":{
"name":"meSer","type":"record","fields": [ {"name":"teNo","type":["string","null"]}, {"name":"testStart","type":["string","null"]}, {"name":"testEnd","type":["string","null" ]} ] } } } ] } I am using CovertRecord Processor : Record Reader : JsonTreeReader Record Writter : RecordSetWriter. It is throwing an error "could not parse incoming data". Any Input on soving nested schema will help me..
... View more