[
https://issues.apache.org/jira/browse/NIFI-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937056#comment-16937056
]
Jeff commented on NIFI-6691:
----------------------------
Question for Mark,
Will your additional bug fix address NIFI-6688 - "UpdateRecord Processor not
handling the parent ("../") operator correctly" ?
(I apologize if I am in the wrong forum here. I am new to the Apache JIRA, and
came here to report a bug, NIFI-6688, that didn't appear to have any visibility
yet, but I am not a Nifi Developer)
> 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)