danny0405 commented on code in PR #11077:
URL: https://github.com/apache/hudi/pull/11077#discussion_r1602600466
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieMergedLogRecordScanner.java:
##########
@@ -222,7 +223,8 @@ public Iterator<HoodieRecord> iterator() {
}
public Map<String, HoodieRecord> getRecords() {
- return records;
+ return records.entrySet().stream().collect(
Review Comment:
> generic type is sufficient
For generic type, I mean to make the it as a Java generic type like `K
extends Serializable` instead of just Serializable, does that work?
--
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]