You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Geoff Greene (Jira)" <ji...@apache.org> on 2021/03/25 13:57:00 UTC
[jira] [Created] (NIFI-8366) LookupRecord should allow for inner
records
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)