james-rms opened a new issue, #712:
URL: https://github.com/apache/arrow-rs-object-store/issues/712

   **Describe the bug**
   `GoogleCloudStorage::copy_opts` gets the CopyMode behavior backwards - it 
forbids overwrites on `CopyMode::Overwrite` and allows them on 
`CopyMode::Create`.
   
   **To Reproduce**
   Create two objects in a GCS bucket, create a google cloud storage client, 
and copy from one to the other with `CopyOptions { copy_mode: 
CopyMode::Overwrite, ..Default::default() }`. This should succeed, but it fails 
with `Error::AlreadyExists`.
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   one object is copied over the other.<!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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