Uh oh!
There was an error while loading. Please reload this page.
[feat](cloud) S3 storage vault support property use_path_style - #43060
Conversation
doris-robot
commented
Nov 1, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
swjtu-zhanglei
commented
Nov 1, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Nov 1, 2024
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
clang-tidy review says "All clean, LGTM! 👍" |
| builder.setProvider(Provider.valueOf(properties.get(S3Properties.PROVIDER).toUpperCase())); | ||
| } | ||
| if (properties.containsKey(PropertyConverter.USE_PATH_STYLE) |
There was a problem hiding this comment.
can it be modified by alter vault stmt?
There was a problem hiding this comment.
can it be modified by
alter vaultstmt?
done
2046a26 to
6d7486eCompareswjtu-zhanglei
commented
Nov 4, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Nov 4, 2024
TeamCity be ut coverage result: |
6d7486e to
ac77d1bCompareswjtu-zhanglei
commented
Nov 4, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Nov 4, 2024
TeamCity be ut coverage result: |
| String value = properties.get(PropertyConverter.USE_PATH_STYLE); | ||
| Preconditions.checkArgument(!Strings.isNullOrEmpty(value), "use_path_style cannot be empty"); | ||
| Preconditions.checkArgument(value.equalsIgnoreCase("true") | ||
| || value.equalsIgnoreCase("false"), "Invalid use_path_style value: %s", value); |
There was a problem hiding this comment.
"Invalid use_path_style value: %s, only 'true' or 'false' is acceptable"
There was a problem hiding this comment.
"Invalid use_path_style value: %s, only 'true' or 'false' is acceptable"
resolved
| if (properties.get(PropertyConverter.USE_PATH_STYLE).equalsIgnoreCase("true")) { | ||
| builder.setUsePathStyle(true); | ||
| } else { | ||
| builder.setUsePathStyle(false); | ||
| } |
There was a problem hiding this comment.
| if (properties.get(PropertyConverter.USE_PATH_STYLE).equalsIgnoreCase("true")) { | |
| builder.setUsePathStyle(true); | |
| } else { | |
| builder.setUsePathStyle(false); | |
| } | |
| builder.setUsePathStyle(value.equalsIgnoreCase("true")); |
There was a problem hiding this comment.
maybe alter set use_path_style from true to false
ac77d1b to
f86ef7bCompareswjtu-zhanglei
commented
Nov 5, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
f86ef7b to
1ff0dd6Compareswjtu-zhanglei
commented
Nov 5, 2024
run buildall |
PR approved by at least one committer and no changes requested. |
swjtu-zhanglei
commented
Nov 5, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
swjtu-zhanglei
commented
Nov 5, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
``` CREATE STORAGE VAULT IF NOT EXISTS demo_vault PROPERTIES ( "type"="S3", ... "use_path_style" = "true" ); ```
c175d5b to
b5f9d28Compareswjtu-zhanglei
commented
Nov 6, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Nov 6, 2024
TeamCity be ut coverage result: |
swjtu-zhanglei
commented
Nov 6, 2024
run p0 |
swjtu-zhanglei
commented
Nov 6, 2024
run cloud_p0 |
swjtu-zhanglei
commented
Nov 6, 2024
run p0 |
…che#43060) example ``` CREATE STORAGE VAULT IF NOT EXISTS demo_vault PROPERTIES ( "type"="S3", ... "use_path_style" = "true" ); ```
) (#43343) example ``` CREATE STORAGE VAULT IF NOT EXISTS demo_vault PROPERTIES ( "type"="S3", ... "use_path_style" = "true" ); ```
…che#43060) example ``` CREATE STORAGE VAULT IF NOT EXISTS demo_vault PROPERTIES ( "type"="S3", ... "use_path_style" = "true" ); ```
example
doc apache/doris-website#1344