danny0405 commented on code in PR #5830:
URL: https://github.com/apache/hudi/pull/5830#discussion_r1022274976


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFormatReader.java:
##########
@@ -141,4 +139,8 @@ public HoodieLogBlock prev() throws IOException {
     return this.currentReader.prev();
   }
 
+  private Schema getReaderSchema() {
+    boolean useWriterSchema = !readerSchema.isEmptySchema();
+    return useWriterSchema ? null : readerSchema.getAvroSchema();

Review Comment:
   Then please also keep the old comments.



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