yihua commented on code in PR #13724:
URL: https://github.com/apache/hudi/pull/13724#discussion_r2331908695
##########
hudi-common/src/main/java/org/apache/hudi/io/storage/HFileReaderFactory.java:
##########
@@ -55,9 +58,34 @@ public HFileReaderFactory(HoodieStorage storage,
public HFileReader createHFileReader() throws IOException {
final long fileSize = determineFileSize();
final SeekableDataInputStream inputStream = createInputStream(fileSize);
+
+ if (shouldEnableBlockCaching()) {
Review Comment:
The upper layer needs to enable the block caching for reading `files`
partition in MDT for MDT-based file system view to avoid rescanning the HFiles,
and there should be code changes for this.
--
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]