pitrou commented on PR #41564:
URL: https://github.com/apache/arrow/pull/41564#issuecomment-2110240610

   > That is true. I guess the question is if `arrow`'s OutputStream API makes 
an explicit _guarantee_ that `Open` should throw if the target does not exist. 
My guess would be that you shouldn't built code upon this assumption if it 
isn't explicitly stated in `arrow`'s API/docs (which it is not), but of course 
real-world usage deviates from that (Hyrum's Law).
   
   The API docs generally do not go into that level of detail. However, it is a 
general assumption that a filesystem "looks like" a local filesystem API-wise.
   
   It is also much more convenient to get an error early, than after you have 
already "written" multiple megabytes of data to the file.
   
   A compromise would be to add a dedicated option in `S3Options`, but of 
course the optimization would only benefit those users that enable the option.
   


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