[
https://issues.apache.org/jira/browse/NIFI-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190913#comment-16190913
]
ASF GitHub Bot commented on NIFI-4441:
--------------------------------------
Github user frett27 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2184#discussion_r142597985
--- Diff:
nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-avro-record-utils/src/main/java/org/apache/nifi/avro/AvroTypeUtil.java
---
@@ -691,6 +697,10 @@ private static boolean isCompatibleDataType(final
Object value, final DataType d
return true;
}
break;
+ case MAP:
+ if (value instanceof MapRecord) {
--- End diff --
OK, i'll have a dive on this
> 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)