trushev commented on code in PR #5830:
URL: https://github.com/apache/hudi/pull/5830#discussion_r1022281627
##########
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:
You are right, the old comment should have been kept. I fixed that in `add
nullable annotation and comment about writer schema`
--
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]