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

ASF GitHub Bot commented on NIFI-4671:
--------------------------------------

Github user mmucha-redhat commented on the issue:

    https://github.com/apache/nifi/pull/2323
  
    In which nifi version can we expect this to be merged?


> When parsing Avro schema, all fields that are not 'top level' are marked as 
> nullable
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-4671
>                 URL: https://issues.apache.org/jira/browse/NIFI-4671
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.5.0
>
>
> From the mailing list, there is an issue with ValidateRecord considering 
> invalid JSON records to be valid when it is missing an 'inner field'. Given 
> the following schema:
> {code}
> {
>   "name": "aRecord",
>   "type": "record",
>   "namespace": "a",
>   "fields": [
>     {
>       "name": "a",
>       "type": {
>         "name": "bRecord",
>         "type":"record",
>         "fields": [
>           { "name": "b", "type": "string"}
>         ]
>       }
>     }
>   ]
> }
> {code}
> ValidateRecord will indicate that the following record is valid:
> {code}
> {"a":{}}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to