dawidwys commented on a change in pull request #13763:
URL: https://github.com/apache/flink/pull/13763#discussion_r512586324



##########
File path: 
flink-formats/flink-avro/src/test/java/org/apache/flink/formats/avro/typeutils/AvroSchemaConverterTest.java
##########
@@ -104,48 +104,115 @@ public void testRowTypeAvroSchemaConversion() {
                                DataTypes.FIELD("row3", 
DataTypes.ROW(DataTypes.FIELD("c", DataTypes.STRING())))))
                        .build().toRowDataType().getLogicalType();
                Schema schema = AvroSchemaConverter.convertToSchema(rowType);
-               assertEquals("{\n" +
+               assertEquals("[ {\n" +

Review comment:
       True, you test though only the `DataType` -> `Schema` and back. We could 
also add a test for `Schema` -> `DataType` (you start with a Schema), which is 
important in case of a schema registry.




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


Reply via email to