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


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/IncrementalInputSplits.java:
##########
@@ -210,9 +210,9 @@ public Result inputSplits(
         LOG.warn("No partitions found for reading in user provided path.");
         return Result.EMPTY;
       }
-      FileStatus[] files = WriteProfiles.getFilesFromMetadata(path, 
metaClient.getHadoopConf(), metadataList, metaClient.getTableType(), false);
-      if (files == null) {
-        LOG.warn("Found deleted files in metadata, fall back to full table 
scan.");
+      Boolean skipNotExistsFile = 
conf.getBoolean(FlinkOptions.READ_STREAMING_SKIP_NOT_EXIST_FILE);

Review Comment:
   Did you know that this code only works for batch queries?



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