JingsongLi opened a new pull request, #250:
URL: https://github.com/apache/flink-table-store/pull/250

   When reading a file, if it is found that the file does not exist, it 
directly throws a file not found exception, which is often difficult for users 
to understand.
   We can make it more clear in the exception message, e.g.
   The file cannot be found, this may be because the read is too slow and the 
previous snapshot expired, you can configure a larger snapshot.time-retained or 
speed up your read.
   
   ```
   Caused by: java.io.FileNotFoundException: File does not exist:
   at 
org.apache.flink.table.store.file.utils.FileUtils.getFileSize(FileUtils.java:94)
 ~[flink-table-store-dist-0.2.jar:0.2-SNAPSHOT]
   at 
org.apache.flink.table.store.file.data.DataFileReader$DataFileRecordReader.<init>(DataFileReader.java:86)
 ~[flink-table-store-dist-0.2.jar:0.2-SNAPSHOT]
   ```


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