flyrain commented on code in PR #4391: URL: https://github.com/apache/iceberg/pull/4391#discussion_r854351509
########## docs/integrations/aws.md: ########## @@ -435,6 +435,26 @@ For the above example, the objects in S3 will be saved with tags: `my_key1=my_va For more details on tag restrictions, please refer [User-Defined Tag Restrictions](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html). +### S3 Access Points + +[Access Points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) can be used for operating +s3 objects from the specified bucket, against which access-point was mapped. This is useful for multi-region access, cross-region access, +disaster recovery, etc. + +For example, to use S3 access-point with Spark 3.0, you can start the Spark SQL shell with: +``` +spark-sql --conf spark.sql.catalog.my_catalog=org.apache.iceberg.spark.SparkCatalog \ + --conf spark.sql.catalog.my_catalog.warehouse=s3://my-bucket/my/key/prefix \ Review Comment: Shall we change `my-bucket` to either `my-bucket1` or `my-bucket2`? -- 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]
