diff --git a/docs/src/main/sphinx/object-storage/file-system-azure.md b/docs/src/main/sphinx/object-storage/file-system-azure.md index 33976faee310..8ca7ec1da334 100644 --- a/docs/src/main/sphinx/object-storage/file-system-azure.md +++ b/docs/src/main/sphinx/object-storage/file-system-azure.md @@ -51,6 +51,8 @@ system support: * - `azure.application-id` - Specify the application identifier appended to the `User-Agent` header for all requests sent to Azure Storage. Defaults to `Trino`. +* - `azure.multipart-write-enabled` + - Enable multipart writes for large files. Defaults to `false`. ::: (azure-user-assigned-managed-identity-authentication)= diff --git a/lib/trino-filesystem-azure/src/main/java/io/trino/filesystem/azure/AzureFileSystemConfig.java b/lib/trino-filesystem-azure/src/main/java/io/trino/filesystem/azure/AzureFileSystemConfig.java index 2a132538a0ec..3ad9c4b510bd 100644 --- a/lib/trino-filesystem-azure/src/main/java/io/trino/filesystem/azure/AzureFileSystemConfig.java +++ b/lib/trino-filesystem-azure/src/main/java/io/trino/filesystem/azure/AzureFileSystemConfig.java @@ -147,6 +147,11 @@ public AzureFileSystemConfig setApplicationId(String applicationId) return this; } + public boolean isMultipartWriteEnabled() + { + return multipartWriteEnabled; + } + @Config("azure.multipart-write-enabled") @ConfigDescription("Enable multipart writes for large files") public AzureFileSystemConfig setMultipartWriteEnabled(boolean multipartWriteEnabled) @@ -154,9 +159,4 @@ public AzureFileSystemConfig setMultipartWriteEnabled(boolean multipartWriteEnab this.multipartWriteEnabled = multipartWriteEnabled; return this; } - - public boolean isMultipartWriteEnabled() - { - return multipartWriteEnabled; - } }