miomiocat opened a new pull request, #1510: URL: https://github.com/apache/paimon-rust/pull/1510
### Purpose Closes #1509. An OSS reader on ECS can use the instance’s RAM role to obtain temporary credentials. Today, configuring only `fs.oss.endpoint` makes `FileIOBuilder::build()` fail with `Missing required OSS config: fs.oss.accessKeyId`. Accepting endpoint-only configuration lets the default OpenDAL OSS backend resolve credentials when it signs a request. ### Brief change log - Pass both static key properties through when supplied and leave both unset when omitted. - Reject an incomplete key pair during configuration and report the missing property. The endpoint remains required. ### Tests - `cargo build --locked -p paimon --lib` passed. - Added parser coverage for an endpoint with both static key properties omitted and for each incomplete key pair. - Verified that the public OSS FileIO builder accepts the endpoint-only configuration and that OpenDAL can sign a read URL offline with dummy environment credentials. ### API and Format This expands the accepted OSS configuration. Public API signatures and stored data formats are unchanged. ### Documentation The OSS example in the Getting Started guide now explains when to omit both static key properties. -- 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]
