Github user markap14 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2184#discussion_r142454362
--- 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 --
We can probably use the more generic Record instead of MapRecord. We should
probably also consider if value instanceof java.util.Map
---