[
https://issues.apache.org/jira/browse/NIFI-13811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-13811:
------------------------------
Fix Version/s: 2.0.0-M5
Status: Patch Available (was: Open)
> 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: 10m
> 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)