linliu-code commented on code in PR #13566:
URL: https://github.com/apache/hudi/pull/13566#discussion_r2213899343


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieMergedLogRecordReader.java:
##########
@@ -124,6 +129,17 @@ static Option<KeySpec> createKeySpec(Option<Predicate> 
filter) {
     }
   }
 
+  static List<String> getNewFullKeys(List<String> fullKeys,
+                                     HoodieReaderContext readerContext,
+                                     FileGroupRecordBuffer recordBuffer) {
+    if (readerContext.getReuseBuffer()) {
+      return fullKeys.stream()
+          .filter(key -> !recordBuffer.containsLogRecord(key))

Review Comment:
   My understanding is yes. The same keys can be skipped.



-- 
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]

Reply via email to