[ 
https://issues.apache.org/jira/browse/NIFI-10970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Sampson updated NIFI-10970:
---------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Add a 'count' function to RecordPath
> ------------------------------------
>
>                 Key: NIFI-10970
>                 URL: https://issues.apache.org/jira/browse/NIFI-10970
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.20.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> We should provide a {{count}} function for RecordPath. Currently there's no 
> simple way to express something like "get element A where at least 1 of the 
> child elements meets some criteria."
> We should provide the ability to count the number of elements that match a 
> given RecordPath. For example, I can get all items from an order that have a 
> price over 10 by using the RecordPath  {{/orders/items[price > 10]}}
> However, I have no way of counting how many of those items have a price over 
> 10.



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

Reply via email to