danny0405 commented on code in PR #13314:
URL: https://github.com/apache/hudi/pull/13314#discussion_r2093963853
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReader.java:
##########
@@ -367,20 +395,16 @@ public boolean hasNext() {
}
@Override
- public T next() {
- return reader.next();
+ public U next() {
+ return recordSupplier.get();
Review Comment:
Just add another iterator, it does not deserve to add another per-row
invocation.
--
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]