codope commented on code in PR #9819:
URL: https://github.com/apache/hudi/pull/9819#discussion_r1360640228
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -73,14 +71,13 @@ public final class HoodieFileGroupReader<T> implements
Closeable {
private final long start;
// Length of bytes to read from the base file
private final long length;
- // Key to record and metadata mapping from log files
- private final Map<String, Pair<Option<T>, Map<String, Object>>>
logFileRecordMapping = new HashMap<>();
- private final FileGroupReaderState readerState = new FileGroupReaderState();
+ // Core structure to store and process records.
+ private final HoodieFileGroupRecordBuffer<T, ?> recordBuffer;
Review Comment:
@linliu-code good question
--
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]