JingGe commented on a change in pull request #19024:
URL: https://github.com/apache/flink/pull/19024#discussion_r822995472
##########
File path:
flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/avro/AvroParquetRecordFormatTest.java
##########
@@ -140,6 +141,24 @@ void testCreateReflectReader() throws IOException {
}
}
+ @Test
+ void testReflectReadFromGenericRecords() throws IOException {
+ StreamFormat.Reader<User> reader =
+ createReader(
+ AvroParquetReaders.forReflectRecord(User.class),
+ new Configuration(),
+ userPath,
+ 0,
+
userPath.getFileSystem().getFileStatus(userPath).getLen());
+ for (GenericRecord record : userRecords) {
+ User user = reader.read();
+ assertUserEquals(Objects.requireNonNull(user), record);
+ }
+ }
+
+ @Test
+ void testReflectReadFromGenericRecords2() throws IOException {}
Review comment:
No, it was local experiment pushed by mistake. Thanks!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]