Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13811

CalculateRecordStats does not properly handle records with arrays or maps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0-M5
    • Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m