dawidwys commented on a change in pull request #13373:
URL: https://github.com/apache/flink/pull/13373#discussion_r487738769
##########
File path:
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/typeutils/AvroSchemaConverter.java
##########
@@ -255,28 +257,24 @@ private static DataType convertToDataType(Schema schema) {
decimalType.getScale())
.notNull();
}
- return
DataTypes.ARRAY(DataTypes.TINYINT().bridgedTo(Byte.class))
- .notNull();
+ return DataTypes.ARRAY(DataTypes.TINYINT()).notNull();
Review comment:
Avro uses `ByteBuffer`, therefore we do a conversion there. I will
change it to `DataTypes.BYTES()`.
----------------------------------------------------------------
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]