Mark Payne created NIFI-13380:
---------------------------------

             Summary: RecordPath Recursive Descent Operator (//) does not 
consider arrays of records
                 Key: NIFI-13380
                 URL: https://issues.apache.org/jira/browse/NIFI-13380
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Mark Payne
            Assignee: Mark Payne


If I have a record along the lines of:
{code:java}
{
  "people": [{
    "name": "John Doe",
    "age": 30,
    "siblings": [{
      "name": "Jane Doe"
    }]
  }]
} {code}
When I use a RecordPath of {{//name}} I should get back 2 names: {{John Doe}} 
and {{Jane Doe}} but I don't get any back. This is because the {{//}} operator 
does not appear to recurse into arrays of Records.



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

Reply via email to