morningman commented on code in PR #57116:
URL: https://github.com/apache/doris/pull/57116#discussion_r2446686526
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/property/metastore/AbstractPaimonProperties.java:
##########
@@ -112,6 +121,38 @@ public Map<String, String> getCatalogOptionsMap() {
}
}
+ /**
+ * @See org.apache.paimon.s3.S3FileIO
+ * Possible S3 config key prefixes:
+ * 1. "s3." - Paimon legacy custom prefix
+ * 2. "s3a." - Paimon-supported shorthand
+ * 3. "fs.s3a." - Hadoop S3A official prefix
+ *
+ * All of them are normalized to the Hadoop-recognized prefix "fs.s3a."
+ */
+ private final List<String> userStoragePrefixes = ImmutableList.of(
+ "paimon.s3.", "paimon.s3a.", "paimon.fs.s3.",
"paimon.fs.oss."
+ );
+
+ /** Hadoop S3A standard prefix */
+ private static final String FS_S3A_PREFIX = "fs.s3a.";
+
+ /**
+ * Normalizes user-provided S3 config keys to Hadoop S3A keys
+ */
+ protected Map<String, String> normalizeS3Config() {
Review Comment:
```suggestion
protected Map<String, String> normalizeS3Config() {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]