Daniel Stieglitz created NIFI-12082:
---------------------------------------

             Summary: Schema in JsonTreeReader documentation is invalid
                 Key: NIFI-12082
                 URL: https://issues.apache.org/jira/browse/NIFI-12082
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
         Attachments: invalidSchema.pdf

The schema in the JsonTreeReader documentation
{code:java}
{ "namespace": "nifi", "name": "person", "type": "record", "fields": [ { 
"name": "id", "type": "int" }, { "name": "name", "type": "string" }, { "name": 
"gender", "type": "string" }, { "name": "dob", "type": { "type": "int", 
"logicalType": "date" }}, { "name": "siblings", "type": { "type": "array", 
"items": { "type": "record", "fields": [ { "name": "name", "type": "string" } ] 
} }} ] }

{code}
when loaded in a AvroSchemaRegistry results with the error message not a valid 
schema.

The documentation should be corrected to have a schema that will load.

Screenshot attached

[^invalidSchema.pdf]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to