llama90 opened a new issue, #43247: URL: https://github.com/apache/arrow/issues/43247
### Describe the usage question you have. Please include as many useful details as possible. I've updated Minio to the latest version for the "[CI] Update minio version(#41922)" issue. While reviewing the failing tests, I found something unclear and would like to get opinion on it. In both file systems and object storage, a file (object) can have the same name as a directory (prefix). However, there's a test that expects directory creation to fail if a file with the same name already exists. **Test Initialization** https://github.com/apache/arrow/blob/718415030f8ebcad14bc3fa10906beca6526c5e9/cpp/src/arrow/filesystem/s3fs_test.cc#L464-L466 During initialization, a file is created, but the code tests for the failure of directory creation. https://github.com/apache/arrow/blob/718415030f8ebcad14bc3fa10906beca6526c5e9/cpp/src/arrow/filesystem/s3fs_test.cc#L954-L955 Should we continue to follow this rule that files and directories can't have the same name? This test was created a long time ago (August 2019) and Minio is running on version `2022.05-26T05-48-41Z`, so it might not be up to date. - https://github.com/apache/arrow/commit/7ec173172953f6ab27f7bad495bd49bff451d03c If it's correct that files and directories can have the same name, the test should be updated. ### Component(s) C++ -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org