Github user twalthr commented on a diff in the pull request:
https://github.com/apache/flink/pull/6082#discussion_r192965275
--- Diff:
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/typeutils/AvroRecordClassConverter.java
---
@@ -73,9 +75,37 @@ private AvroRecordClassConverter() {
final GenericTypeInfo<?> genericTypeInfo =
(GenericTypeInfo<?>) extracted;
if (genericTypeInfo.getTypeClass() == Utf8.class) {
return BasicTypeInfo.STRING_TYPE_INFO;
+ } else if (genericTypeInfo.getTypeClass() == Map.class)
{
--- End diff --
If you update this converter class, you should also update the
corresponding runtime classes in
`org.apache.flink.formats.avro.AvroRow(De)SerializationSchema`
---