trushev commented on code in PR #5830:
URL: https://github.com/apache/hudi/pull/5830#discussion_r1021080563
##########
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:
I used variable here on purpose to point out `useWriterSchema`
Essentially, it represents removed code
https://github.com/apache/hudi/blob/release-0.12.1/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieAvroDataBlock.java#L162-L169
--
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]