danny0405 commented on code in PR #13987:
URL: https://github.com/apache/hudi/pull/13987#discussion_r2387482518
##########
hudi-hadoop-common/src/test/java/org/apache/hudi/common/functional/TestHoodieLogFormat.java:
##########
@@ -453,11 +454,15 @@ public void testBasicWriteAndScan(int tableVersion)
throws IOException, URISynta
List<IndexedRecord> recordsRead = getRecords(dataBlockRead);
assertEquals(copyOfRecords.size(), recordsRead.size(),
"Read records size should be equal to the written records size");
- assertEquals(copyOfRecords, recordsRead,
+ assertEquals(getSerializableIndexedRecordList(copyOfRecords), recordsRead,
"Both records lists should be the same. (ordering guaranteed)");
reader.close();
}
+ private List<IndexedRecord>
getSerializableIndexedRecordList(List<IndexedRecord> indexedRecords) {
Review Comment:
convertAvroToSerializable?
--
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]