manojpec commented on a change in pull request #4352:
URL: https://github.com/apache/hudi/pull/4352#discussion_r789089765
##########
File path:
hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieFileReader.java
##########
@@ -35,6 +37,14 @@
public Set<String> filterRowKeys(Set<String> candidateRowKeys);
+ default Map<String, R> getRecordsByKeys(TreeSet<String>
sortedCandidateRowKeys) throws IOException {
Review comment:
TreeSet will have the keys sorted and its a clue for the HFile scanners
to do seekTo the first key and then do the sequential scan instead of repeated
full/pointed lookups
--
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]