Geoff Greene created NIFI-8366:
----------------------------------

             Summary: LookupRecord should allow for inner records
                 Key: NIFI-8366
                 URL: https://issues.apache.org/jira/browse/NIFI-8366
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: Geoff Greene


I would like LookupRecord to be able to allow multiple lookups per record.

Imagine the following JSON:

[\{“key”:”foo”, “innerrecord”:[{“key”: “value1”}, \{“key”:”value2”}, 
\{“key”:”value3”}}]

There is currently no way to be able to do lookups on the values of 
"innerrecord"

to be able to give:

[\{“key”:”foo”, “innerrecord”:[{“key”: “value1”,"enhanced":1}, 
\{“key”:”value2”}, \{“key”:”value3”,"enhanced":3}}]

I'm not certain of what the spec for the lookup key would look like, maybe 
something like

/innermost[i]/key ?

and then the result would go into

/inntermost[i]/enhanced? 

 

Thats just an implementation thought though



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to