We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07bc396 commit b30a6c5Copy full SHA for b30a6c5
extension/httpfs/s3fs.cpp
@@ -478,7 +478,8 @@ void S3FileSystem::FlushAllBuffers(S3FileHandle &file_handle) {
478
file_handle.write_buffers_lock.unlock();
479
480
if (file_handle.initialized_multipart_upload == false) {
481
- if (to_flush.size() == 1) {
+ // TODO (carlo): unclear how to handle kms_key_id, but given currently they are custom, leave the multiupload codepath in that case
482
+ if (to_flush.size() == 1 && file_handle.auth_params.kms_key_id.empty()) {
483
UploadSingleBuffer(file_handle, to_flush[0]);
484
file_handle.upload_finalized= true;
485
return;
0 commit comments