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 2019/09/19 20:23:00 UTC

[jira] [Updated] (NIFI-6691) UpdateRecord fails to update Record Schema when adding new "inner" field

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

Mark Payne updated NIFI-6691:
-----------------------------
    Fix Version/s: 1.10.0
           Status: Patch Available  (was: Open)

> 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: 10m
>  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)