Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2207#discussion_r145169617
--- 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 Map) {
--- End diff --
What kind of flow (which processors, e.g.) did you use to test this with?
When I use ConvertRecord, value is a MapRecord not a Map, which causes this not
to work. Perhaps we should check for both here?
---