yihua commented on code in PR #14208:
URL: https://github.com/apache/hudi/pull/14208#discussion_r2496000812


##########
hudi-hadoop-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java:
##########
@@ -109,12 +112,20 @@ public Set<Pair<String, Long>> 
filterRowKeys(HoodieStorage storage, StoragePath
   }
 
   public static ParquetMetadata readMetadata(HoodieStorage storage, 
StoragePath parquetFilePath) {
+    return readMetadata(storage, parquetFilePath, NO_FILTER);
+  }
+
+  public static ParquetMetadata readMetadataWithSkipRowGroups(HoodieStorage 
storage, StoragePath parquetFilePath) {
+    return readMetadata(storage, parquetFilePath, SKIP_ROW_GROUPS);

Review Comment:
   Does this reduce both metadata scanned and the number of file system calls? 
Any numbers?



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