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 2023/09/25 13:20:00 UTC

[jira] [Created] (NIFI-12124) Add a RenameRecordField processor

Mark Payne created NIFI-12124:
---------------------------------

             Summary: Add a RenameRecordField processor
                 Key: NIFI-12124
                 URL: https://issues.apache.org/jira/browse/NIFI-12124
             Project: Apache NiFi
          Issue Type: Task
          Components: Extensions
            Reporter: Mark Payne


The RemoveRecordField processor that was recently added has made it much simpler to remove specific fields from a Record. However, it's still not trivial to rename a field. There are multiple ways to achieve this, but none of them are straight-forward.

It should take as its configuration user-defined properties such that the key is a RecordPath and the value is a String literal or a Expression Language Expression - much like UpdateRecord does when configured with "Replacement Value Strategy" = "Literal Value." When evaluating EL, it should expose FlowFile attributes as well as {{field.name}} and {{{}field.value{}}}. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)