From 30929f85601b94940c9b90870f7162945660e753 Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Fri, 8 Aug 2025 08:13:53 +0900 Subject: [PATCH 1/2] Replace getter and setter order of multipartWriteEnabled --- .../trino/filesystem/azure/AzureFileSystemConfig.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; - } } From 46aa5c0a718907de2f4bc24545a1263e5951b17d Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Fri, 8 Aug 2025 08:14:05 +0900 Subject: [PATCH 2/2] Document azure.multipart-write-enabled config property --- docs/src/main/sphinx/object-storage/file-system-azure.md | 2 ++ 1 file changed, 2 insertions(+) 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)=