[ 
https://issues.apache.org/jira/browse/NIFI-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Witt updated NIFI-6691:
------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1 merged to master

> 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
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to