surawut-jirasaktavee commented on code in PR #7680: URL: https://github.com/apache/datafusion-comet/pull/7680#discussion_r4638591276
########## docs/source/user-guide/latest/iceberg.md: ########## @@ -571,6 +571,12 @@ carries the catalog's `hadoop.*` overrides. Also gated explicitly: any `encrypti `write.object-storage.enabled=true`, and `write.location-provider.impl`. An `io-impl` table property is ignored, because iceberg-java reads `io-impl` from catalog properties only. +With `S3FileIO`, `client.factory` is admitted only as `org.apache.iceberg.aws.AssumeRoleAwsClientFactory` +with `client.assume-role.arn` and `client.assume-role.region` set, and that region becomes the write +region. The write falls back when the factory is combined with a different `client.region` or +`s3.region`, static S3 keys, a credential-provider class, or `s3.allow-anonymous`, +`s3.disable-ec2-metadata` or `s3.disable-config-load` set to `true`. Review Comment: Session name: when `client.assume-role.session-name` is unset, the native writer now gets `iceberg-aws-<uuid>`, the same form as `AssumeRoleAwsClientFactory.genSessionName`. iceberg-rust passes it to opendal as `role_session_name`, so a trust policy with an `sts:RoleSessionName` condition sees the same pattern from both writers. One difference remains: iceberg-java generates one name per factory instance, while the native writer generates one per write -- 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]
