clbarnes commented on PR #5222:
URL: https://github.com/apache/arrow-rs/pull/5222#issuecomment-1874202116

   > I would prefer us to return a NotImplemented error
   
   Is it also the case with preconditions that it's possible to get that 
information in an inefficient way, and we choose not to? I'm just thinking 
about the zarr use case where we want to use object_store so that we can write 
a library which is generic over the users' stores. If we don't build in the 
(inefficient) fallback behaviour, then all library authors wanting to make use 
of generic stores will have to do a lot of re-implementing that exact behaviour 
with matches on the response and make 3 requests (one to fail, one to get the 
length, one to actually get the range). An error is the current behaviour (but 
returned by the server rather than on our side).


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