You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2019/03/06 14:53:00 UTC

[jira] [Created] (NIFI-6105) Arrays of records/maps not handled correctly in Record processors

Matt Burgess created NIFI-6105:
----------------------------------

             Summary: Arrays of records/maps not handled correctly in Record processors
                 Key: NIFI-6105
                 URL: https://issues.apache.org/jira/browse/NIFI-6105
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Matt Burgess


While investigating [this SO question|https://stackoverflow.com/questions/54981540/nifi-recordreader-recordwriter-serialization-error-illegaltypeconversionexcep], it was discovered that Arrays of RECORD type (whether Record or Map objects) are not being handled correctly, and as a result, the fields may be incorrectly ignored or set to null.

Arrays (especially those of Object[] type) should be handled during conversion by creating a new array of the converted objects (Record -> Map, e.g.).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)