cshuo commented on code in PR #13688:
URL: https://github.com/apache/hudi/pull/13688#discussion_r2261750610
##########
hudi-common/src/main/java/org/apache/hudi/common/engine/HoodieReaderContext.java:
##########
@@ -87,6 +89,8 @@ public abstract class HoodieReaderContext<T> {
private RecordMergeMode mergeMode;
protected RecordContext<T> recordContext;
private FileGroupReaderSchemaHandler<T> schemaHandler = null;
+ // the default iterator mode is engine-specific record mode
+ private IteratorMode iteratorMode = IteratorMode.ENGINE_RECORD;
Review Comment:
It'll be a long passing path to deliver the IteratorMode to RecordBuffer. I
think it's ok to put it in ReaderContext, just like RecordMergeMode.
--
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]