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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -444,12 +446,12 @@ public static Map<String, HoodieData<HoodieRecord>> 
convertMetadataToRecords(Hoo
       // Generate Hoodie Pair data of partition name and list of column range 
metadata for all the files in that partition
       boolean isDeletePartition = 
commitMetadata.getOperationType().equals(WriteOperationType.DELETE_PARTITION);
       final HoodieData<HoodieRecord> partitionStatsRDD = 
convertMetadataToPartitionStatRecords(commitMetadata, context,
-          dataMetaClient, tableMetadata, metadataConfig, recordTypeOpt, 
isDeletePartition);
+          dataMetaClient, tableMetadata, metadataConfig, recordTypeOpt, 
isDeletePartition, enableOptimizeLogBlocksScan);
       
partitionToRecordsMap.put(MetadataPartitionType.PARTITION_STATS.getPartitionPath(),
 partitionStatsRDD);
     }
     if 
(enabledPartitionTypes.contains(MetadataPartitionType.RECORD_INDEX.getPartitionPath()))
 {
       
partitionToRecordsMap.put(MetadataPartitionType.RECORD_INDEX.getPartitionPath(),
 convertMetadataToRecordIndexRecords(context, commitMetadata, metadataConfig,
-          dataMetaClient, writesFileIdEncoding, instantTime, engineType));
+          dataMetaClient, writesFileIdEncoding, instantTime, engineType, 
enableOptimizeLogBlocksScan));

Review Comment:
   @danny0405 Unless you are mentioning that because we set this props here 
https://github.com/apache/hudi/blob/49ac549cf5ef7dd635d069dd44100ab98e6f19d1/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java#L1030
 and that gets passed to `readerContext` and `recordBuffer` which allows this 
to work?
   
   



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