RE: RecordPath...With INNER records

2021-03-25 Thread Greene (US), Geoffrey N
Jira Ticket filed #8366 From: Mark Payne [mailto:marka...@hotmail.com] Sent: Thursday, March 25, 2021 9:16 AM To: users@nifi.apache.org Subject: [EXTERNAL] Re: RecordPath...With INNER records EXT email: be mindful of links/attachments. Geoffrey, As Jorge mentioned, you can reference

Re: RecordPath...With INNER records

2021-03-25 Thread Mark Payne
Geoffrey, As Jorge mentioned, you can reference specific array indices in the RecordPath like /outer[0]/key, or you could reference all elements such as /outer[*]/key. But at this time, I don’t think LookupRecord will allow for multiple lookups per record. So the enrichment you’re looking at

Re: RecordPath...With INNER records

2021-03-25 Thread Jorge Machado
Hey Greene, The LookupRecord as a RecordPath as input. Check out this docs: https://nifi.apache.org/docs/nifi-docs/html/record-path-guide.html#structure or https://www.nifi.rocks/record-path-cheat-sheet/

RecordPath...With INNER records

2021-03-24 Thread Greene (US), Geoffrey N
Sorry for the resend. Thought I'd try one more time. I'm struggling with LookupRecord. I'm making good progress leaning to use using Lookup Record Processor. I have it working so that I know how to turn [{"key": "value1"}, {"key":"value2"}, {"key":"value3"}] Into [{"key":

RecordPath...With INNER records

2021-03-22 Thread Greene (US), Geoffrey N
Im making good progress leaning to use using LookupRecord Processor. I have it working so that I know how to turn [{"key": "value1"}, {"key":"value2"}, {"key":"value3"}] Into [{"key": "value1","enhanced":1}, {"key":"value2","enhanced":2}, {"key":"value3","enhanced":3}] BUT What if you have