You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2019/12/20 17:53:00 UTC
[jira] [Updated] (NIFI-6963) ValidateRecord treats missing required
array as valid
[ https://issues.apache.org/jira/browse/NIFI-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-6963:
-------------------------------
Status: Patch Available (was: In Progress)
> ValidateRecord treats missing required array as valid
> -----------------------------------------------------
>
> Key: NIFI-6963
> URL: https://issues.apache.org/jira/browse/NIFI-6963
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> ValidateRecord does not mark a missing (but required) array field as invalid. This is caused by the missing field being issued an empty array as a default value, even if one is not defined in the schema.
> If no default value for an array field is specified, then the default value should be null rather than an empty array.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)