ByteBaker commented on issue #3300:
URL: https://github.com/apache/arrow-rs/issues/3300#issuecomment-1356351613

   I've committed the solution. Though this still won't work for GCP. The 
reason for this is the fact that calling `build()` on any of the cloud 
provider's builder `e.g., MicrosoftAzureBuilder::default().build()` generates 
the underlying client for that provider by calling `.client()` on 
`ClientOptions` (default or user provided).
   
   This client obviously cannot handle our requirement above, and therefore the 
content type must be handled within the implementation of `put()`. And we need 
to be able to access `ClientOptions` for that to be possible.
   
   While the upload object for Azure and AWS still contain the underlying 
`ClientOptions` when we call `build()` on their builders, GCP does not. 
Therefore I couldn't handle it now. Also couldn't think of a way to achieve it 
without changing any of the original `struct`s.


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