mpiannucci commented on issue #7146:
URL: https://github.com/apache/arrow-rs/issues/7146#issuecomment-2664064005

   So looking at the XML API you are correct 
https://cloud.google.com/storage/docs/xml-api/put-object-upload
   
   But using the google cloud command line using if-match header manually does 
indeed work, for example:
   
   ```
   gcloud storage cp "test.txt" gs://arraylake-external-bucket/test.txt
   # Fails!!!
   gcloud storage cp "test.txt" gs://arraylake-external-bucket/test.txt 
--additional-headers=if-match=foo
   # Get etag
   gcloud storage object describe gs://arraylake-external-bucket/test.txt
   # Works!
   gcloud storage cp "test.txt" gs://arraylake-external-bucket/test.txt 
--additional-headers=if-match=COagt5O8y4sDEAE=
   ```
   
   So not sure if it doesnt work or if its undocumented


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