You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2017/12/06 14:50:00 UTC
[jira] [Created] (NIFI-4671) When parsing Avro schema, all fields
that are not 'top level' are marked as nullable
Mark Payne created NIFI-4671:
--------------------------------
Summary: 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)