sollhui opened a new pull request, #64034:
URL: https://github.com/apache/doris/pull/64034

   ### What problem does this PR solve?
   
   Related PR: #62023
   
   OSS/COS/OBS filesystem providers translated their storage properties to 
S3-compatible properties, but always overwrote use_path_style with false. As a 
result, a user-provided use_path_style=true was lost before S3FileSystem and 
S3ObjStorage consumed the configuration. This made path-style behavior 
impossible to preserve through the provider path and could hide invalid 
path-style URL cases.
   
   This change keeps the existing OSS/COS/OBS default of use_path_style=false 
when the option is not provided, but preserves an explicit user value by using 
putIfAbsent during provider creation and property translation. Unit tests cover 
both the translation helper and the final provider-created S3ObjStorage 
configuration.


-- 
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]

Reply via email to