Pierre Villard created NIFI-15057:
-------------------------------------

             Summary: Add Record Path like helper methods for Record Transform 
Python processors
                 Key: NIFI-15057
                 URL: https://issues.apache.org/jira/browse/NIFI-15057
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Pierre Villard
            Assignee: Pierre Villard


As a follow-up of NIFI-13672, I wanted to put together a processor that 
transforms records using a reader and writer and realised that we don't have an 
easy way to go through the dict representing the NiFi Record... So I'm adding 
helper methods that are a lightweight implementation of NiFi Record Path in 
order to make it easier to manipulate records using Python processors.

I didn't directly use the NiFi Record Path dependency as this would require a 
lot of back and forth between Java and Python in terms of mapping between the 
Java objects for using NiFi Record Path and we have on the Python side.

While not offering as rich features as the NiFi Record Path implementation, 
this provides a good start for basic scanning of the records which should cover 
most of the use cases.



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

Reply via email to