You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/12/23 14:17:01 UTC

[doris] branch branch-1.1-lts updated: [fix](s3 outfile) Add the use_path_style parameter for s3 outfile #15329

This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 9eb7bf6a26 [fix](s3 outfile) Add the use_path_style parameter for s3 outfile #15329
9eb7bf6a26 is described below

commit 9eb7bf6a263428aaf49bdf0025ad3a835c887cb1
Author: Tiewei Fang <43...@users.noreply.github.com>
AuthorDate: Fri Dec 23 22:16:55 2022 +0800

    [fix](s3 outfile) Add the use_path_style parameter for s3 outfile #15329
---
 fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java
index 1817bf7d2a..2093911168 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/OutFileClause.java
@@ -429,6 +429,10 @@ public class OutFileClause {
             }
         }
         if (storageType == StorageBackend.StorageType.S3) {
+            if (properties.containsKey(S3Storage.USE_PATH_STYLE)) {
+                brokerProps.put(S3Storage.USE_PATH_STYLE, properties.get(S3Storage.USE_PATH_STYLE));
+                processedPropKeys.add(S3Storage.USE_PATH_STYLE);
+            }
             S3Storage.checkS3(new CaseInsensitiveMap(brokerProps));
         } else if (storageType == StorageBackend.StorageType.HDFS) {
             HDFSStorage.checkHDFS(new CaseInsensitiveMap(brokerProps));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org