wzx140 commented on code in PR #5522:
URL: https://github.com/apache/hudi/pull/5522#discussion_r870890941


##########
hudi-cli/src/test/java/org/apache/hudi/cli/commands/TestHoodieLogFileCommand.java:
##########
@@ -104,7 +105,7 @@ public void init() throws IOException, 
InterruptedException, URISyntaxException
         
.withFileId("test-log-fileid1").overBaseCommit("100").withFs(fs).build()) {
 
       // write data to file
-      List<IndexedRecord> records = SchemaTestUtil.generateTestRecords(0, 100);
+      List<HoodieRecord> records = SchemaTestUtil.generateTestRecords(0, 
100).stream().map(HoodieIndexRecord::new).collect(Collectors.toList());

Review Comment:
   My opinion is that the bottom test such as houdielogformat uses Avro type 
data. More advanced tests such as TestxxxxActionExecutor use the 
hoodietestdatagenerator to generate data



-- 
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]

Reply via email to