diqiu50 commented on code in PR #4658:
URL: https://github.com/apache/gravitino/pull/4658#discussion_r1740244040


##########
docs/trino-connector/catalog-iceberg.md:
##########
@@ -236,3 +236,52 @@ replacing hdfs_user with the appropriate username:
 ```text
 -DHADOOP_USER_NAME=hdfs_user
 ```
+
+## S3
+
+When using AWS S3 within the Iceberg catalog, users need to configure the 
Trino Iceberg connector's
+AWS S3-related properties in the catalog's properties. Please refer to the 
documentation
+of [Hive connector with Amazon 
S3](https://trino.io/docs/435/connector/hive-s3.html).
+These configurations must use the `trino.bypass.` prefix in the Iceberg 
catalog's attributes to be effective.
+
+To create an Iceberg catalog with AWS S3 configuration in the Trino CLI, use 
the following command:
+
+```sql
+call gravitino.system.create_catalog(
+    'gt_iceberg',
+    'lakehouse-iceberg',
+    map(
+        array['uri', 'catalog-backend', 'warehouse',
+          'trino.bypass.hive.s3.aws-access-key', 
'trino.bypass.hive.s3.aws-secret-key', 'trino.bypass.hive.s3.region',

Review Comment:
   That's ok. If we use original s3, we don't need it



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

Reply via email to