[ 
https://issues.apache.org/jira/browse/NIFI-12082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18064205#comment-18064205
 ] 

ASF subversion and git services commented on NIFI-12082:
--------------------------------------------------------

Commit 7c020cd02a5996fdf991c0b59a39b628ade80134 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7c020cd02a5 ]

NIFI-12082 - Fix additionalDetails of JSON Tree Reader to have a valid schema 
example (#10985)

> 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
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>         Attachments: invalidSchema.pdf
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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



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

Reply via email to