tustvold commented on issue #385:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/385#issuecomment-2916083823

   I think this is a similar issue as 
https://github.com/apache/arrow-rs-object-store/issues/16 but coming from the 
opposite direction.
   
   There are a couple of challenges with what you propose, not least get_ranges 
which is specialized for LocalFileSystem, but also methods like delete_stream. 
I'd very much like what you suggest to be possible, I'm not sure it actually is 
😅 
   
   > I propose to remove all default implementations from the trait and only 
have a single method per operation, so "get" would look like this:
   
   I think if we did do this, I'd suggest we provide an extension trait for 
what are the current default methods, i.e. ObjectStore would only have 
get_opts, with ObjectStoreExt providing get. This would reduce the downstream 
churn.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to