rahil-c commented on code in PR #13591:
URL: https://github.com/apache/hudi/pull/13591#discussion_r2231752660


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -2563,7 +2583,8 @@ public static HoodieData<HoodieRecord> 
convertFilesToPartitionStatsRecords(Hoodi
                                                                              
HoodieMetadataConfig metadataConfig,
                                                                              
HoodieTableMetaClient dataTableMetaClient,
                                                                              
Lazy<Option<Schema>> lazyWriterSchemaOpt,
-                                                                             
Option<HoodieRecordType> recordTypeOpt) {
+                                                                             
Option<HoodieRecordType> recordTypeOpt,
+                                                                             
boolean enableOptimizeLogBlocksScan) {

Review Comment:
   When tracing thru this code path it seems this specific method 
`readRecordKeysFromFileSlices` is only used for tests
   
   <img width="1786" height="284" alt="Screenshot 2025-07-25 at 11 15 43 AM" 
src="https://github.com/user-attachments/assets/5a1cba43-97c0-4f94-ae23-f9f36c1de447";
 />
   
   So wondering if we really need to add this parameter?
   



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