Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Adding a function that can be used to create a map of Strings.
For example, if we have the following record:
{ "firstName": "John", "lastName": "Snow" }
We could use the UpdateRecord processor with
/fullName => map("firstName", /firstName, "lastName", /lastName)
And that would give us something like:
{ "firstName": "John", "lastName": "Snow", "fullName": {"firstName": "John", "lastName": "Snow"} }
This function requires an even number of arguments and the record paths must represent simple field values.
Attachments
Issue Links
- is related to
-
NIFI-13468 Add RecordPath function recordOf
- Resolved
- links to