You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/10/22 02:17:10 UTC

[GitHub] [flink] libenchao commented on a change in pull request #13634: [FLINK-19629]Fix NullPointException in avro format as null value on MAP type

libenchao commented on a change in pull request #13634:
URL: https://github.com/apache/flink/pull/13634#discussion_r509839080



##########
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:
       key can also be `null`?




----------------------------------------------------------------
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:
users@infra.apache.org