dimbtp commented on PR #5528:
URL: https://github.com/apache/arrow-rs/pull/5528#issuecomment-2005683089

   Thanks for your review.
   
   What do you think about these two options:
   - try to read the file directly instead of checking if the file exists
   ```rust
   if let Err(source) = OpenOptions::new().read(true).open(&path) {
       // ...
   }
   ```
   - put file exist check in `maybe_spawn_blocking`


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