nsivabalan commented on code in PR #13622:
URL: https://github.com/apache/hudi/pull/13622#discussion_r2237773576


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadata.java:
##########
@@ -834,6 +834,7 @@ private HoodiePairData<String, String> 
getSecondaryIndexRecordsV1(HoodieData<Str
     }
 
     return getRecordsByKeyPrefixes(keys, partitionName, false, 
SecondaryIndexKeyUtils::escapeSpecialChars)
+        .filter(hoodieRecord -> !hoodieRecord.getData().isDeleted())

Review Comment:
   lets do it in a follow up PR in the interest of landing this stacked patch. 
even prior to this patch, looks like we had this unoptimized code where each 
caller had to handle deletes. 



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