danny0405 commented on code in PR #12132:
URL: https://github.com/apache/hudi/pull/12132#discussion_r1809727026


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/FileIndex.java:
##########
@@ -177,7 +174,8 @@ public List<StoragePathInfo> getFilesInPartitions() {
     }
 
     // data skipping
-    Set<String> candidateFiles = candidateFilesInMetadataTable(allFiles);
+    Set<String> candidateFiles = 
ColumnStatsIndices.candidateFilesInMetadataTable(path.toString(), 
metadataConfig,
+        rowType, dataPruner, 
allFiles.stream().map(StoragePathInfo::toString).collect(Collectors.toList()));

Review Comment:
   `StoragePathInfo::toString` returns full path instead, we use file name 
match in metadata table before.



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