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

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

Commit f91311da9d759fb5712ee8121d54d27a7deea236 in nifi's branch 
refs/heads/master from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f91311d ]

NIFI-6105: Fix handling of arrays of records/maps in record utilities

This closes #3353.

Signed-off-by: Koji Kawamura <[email protected]>


> 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
>            Assignee: Matt Burgess
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to