iodeal commented on issue #327:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/327#issuecomment-2790058994

   > This is intended behaviour and not a bug, if you describe your use-case I 
can perhaps advise on how to achieve it.
   > 
   > We don't support paths with trailing / as they cause compatibility 
problems across stores, in particular those that are directory oriented.
   Thanks! Perhaps I didn't describe it very clearly.
   First of all, my use case is that in a file system similar to S3, if we want 
to list all objects with a prefix key, we cannot add '/' after this prefix key. 
Currently, it seems that this project will automatically add tailing `/`, which 
may not achieve the expected effect.
   Secondly, for native file systems, the path being a directory does not 
depend on whether the given path has a tail `/`. For some distributed systems, 
whether the path is a directory or not is closely related to the tail `/`. So, 
for a path, whether the tail contains'/'depends on the caller, rather than 
automatically strip the tail, which I think is reasonable.
   


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