Mark Payne created NIFI-6691: -------------------------------- Summary: UpdateRecord fails to update Record Schema when adding new "inner" field Key: NIFI-6691 URL: https://issues.apache.org/jira/browse/NIFI-6691 Project: Apache NiFi Issue Type: Bug Components: Extensions Reporter: Mark Payne Assignee: Mark Payne
If UpdateRecord is used to add a field to a Record, the output Record should have a schema that consists of the input record's schema modified to account for any newly added fields/types. For example, if the input Record contains 3 fields, "street", "city", and "state", and a new field, "fullAddress" is to be added by UpdateRecord, the output Record should contain all 4 fields. This works already. But if the field to add is not at "root" level (for example, if the root is a Record that has an array of type Address that possesses all of these fields) then the resulting Record has a Schema with an "Address" field that still contains only street, city, and state – not the new "fullAddress" field. -- This message was sent by Atlassian Jira (v8.3.4#803005)