You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "codope (via GitHub)" <gi...@apache.org> on 2023/07/26 16:14:59 UTC

[GitHub] [hudi] codope commented on a diff in pull request #9292: [HUDI-6594] Support duplicate with HFile Reader/Writer

codope commented on code in PR #9292:
URL: https://github.com/apache/hudi/pull/9292#discussion_r1275203971


##########
hudi-common/src/main/java/org/apache/hudi/metadata/BaseTableMetadata.java:
##########
@@ -418,6 +417,8 @@ private void checkForSpuriousDeletes(HoodieMetadataPayload metadataPayload, Stri
 
   protected abstract Map<String, HoodieRecord<HoodieMetadataPayload>> getRecordsByKeys(List<String> keys, String partitionName);
 
+  protected abstract Map<String, List<HoodieRecord<HoodieMetadataPayload>>> getAllRecordsByKeys(List<String> keys, String partitionName);

Review Comment:
   @nsivabalan I added a separate method (yet to fully implement) for separation as we will have duplicates only in case of RLI for now. But, should we chnage the return type existing `getRecordsByKeys`? 



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org