[ 
https://issues.apache.org/jira/browse/NIFI-13811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888786#comment-17888786
 ] 

ASF subversion and git services commented on NIFI-13811:
--------------------------------------------------------

Commit 0f8b5707184285698fdebc352e2f08356cfe92c8 in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0f8b570718 ]

NIFI-13811 Fixed CalculateRecordStats Nested Record Array Handling

This closes #9321

Signed-off-by: David Handermann <[email protected]>


> CalculateRecordStats does not properly handle records with arrays or maps
> -------------------------------------------------------------------------
>
>                 Key: NIFI-13811
>                 URL: https://issues.apache.org/jira/browse/NIFI-13811
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The CalculateRecordStats processor is configured with a RecordPath to point 
> to the category that should be counted. However, if the RecordPath has an 
> array, such as `/vulnerabilities[*]/severity` the result is incorrect because 
> it considers only the first element instead of all elements in the array.



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

Reply via email to