[
https://issues.apache.org/jira/browse/NIFI-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322867#comment-16322867
]
ASF GitHub Bot commented on NIFI-4441:
--------------------------------------
Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/2207
@frett27 @mattyb149 I think what is done in this PR is actually correct
as-is. The issue you're running into, @mattyb149, I think is that the Avro
Reader is returning a MapRecord object when it should in fact return a Map
object (Any time a RecordFieldType is MAP, it should return a java.util.Map for
the value). So I will address that as part of NIFI-4767. +1 merged to master.
> Add MapRecord support inside avro union types
> ---------------------------------------------
>
> Key: NIFI-4441
> URL: https://issues.apache.org/jira/browse/NIFI-4441
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.4.0
> Reporter: Patrice Freydiere
>
> Using an avro union type that contain maps in the definition lead to errors
> in loading avro records.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)