Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zouxxyy committed Dec 29, 2024
1 parent d59cdaa commit 8ab1247
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -876,9 +876,9 @@ private Map<String, HoodieRecord<HoodieMetadataPayload>> fetchBaseFileAllRecords

try (ClosableIterator<? extends HoodieRecord<?>> recordIterator = reader.getRecordIterator()) {
return toStream(recordIterator).map(record -> {
GenericRecord data = (GenericRecord) record.getData();
return composeRecord(data, partitionName);
}).filter(record -> keySet.contains(SecondaryIndexKeyUtils
GenericRecord data = (GenericRecord) record.getData();
return composeRecord(data, partitionName);
}).filter(record -> keySet.contains(SecondaryIndexKeyUtils
.getRecordKeyFromSecondaryIndexKey(record.getRecordKey())))
.collect(Collectors.toMap(record ->
SecondaryIndexKeyUtils.getRecordKeyFromSecondaryIndexKey(record.getRecordKey()),
Expand Down

0 comments on commit 8ab1247

Please sign in to comment.