yihua commented on code in PR #13724:
URL: https://github.com/apache/hudi/pull/13724#discussion_r2350418282
##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadata.java:
##########
@@ -870,6 +873,18 @@ TypedProperties
buildFileGroupReaderProperties(HoodieMetadataConfig metadataConf
props.setProperty(
DISK_MAP_BITCASK_COMPRESSION_ENABLED.key(),
Boolean.toString(commonConfig.isBitCaskDiskMapCompressionEnabled()));
+
+ // Enable HFile block caching for all MDT partitions regardless of the
configuration to avoid rescanning the HFiles for better performance
+ props.setProperty(HoodieReaderConfig.HFILE_BLOCK_CACHE_ENABLED.key(),
"true");
Review Comment:
Fixed.
--
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]