shizhengchao commented on a change in pull request #13634:
URL: https://github.com/apache/flink/pull/13634#discussion_r509848989
##########
File path:
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroToRowDataConverters.java
##########
@@ -178,7 +178,7 @@ private static AvroToRowDataConverter
createArrayConverter(ArrayType arrayType)
private static AvroToRowDataConverter createMapConverter(LogicalType
type) {
final AvroToRowDataConverter keyConverter =
createConverter(DataTypes.STRING().getLogicalType());
Review comment:
> Avro can't serialize null key for map.
That's right, and this problem only exists when the type of map entry is
`STRING()`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]