suryaprasanna commented on code in PR #18417:
URL: https://github.com/apache/hudi/pull/18417#discussion_r3013116453


##########
hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java:
##########
@@ -484,9 +499,13 @@ private List<StoragePathInfo> 
listPartitionPathFiles(List<PartitionPath> partiti
             Function.identity()
         ));
 
+    HoodieTimer timer = HoodieTimer.start();
     try {
-      Map<String, List<StoragePathInfo>> fetchedPartitionsMap =
-          
tableMetadata.getAllFilesInPartitions(missingPartitionPathsMap.keySet(), 
getPartitionPathFilter(activeTimeline));
+      log.info("On {}, out of {} partition paths, {} are missing from cache. 
Loading them.",
+          metaClient.getTableConfig().getTableName(), partitionPaths.size(), 
missingPartitionPaths.size());

Review Comment:
   Added a condition to handle, please review it again.



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