nastra commented on code in PR #7044:
URL: https://github.com/apache/iceberg/pull/7044#discussion_r1129591127


##########
docs/flink-getting-started.md:
##########
@@ -260,6 +260,24 @@ The following properties can be set if using the Hadoop 
catalog:
 
 We could execute the sql command `USE CATALOG hive_catalog` to set the current 
catalog.
 
+### REST catalog
+
+This creates an iceberg catalog named `rest_catalog` that can be configured 
using `'catalog-type'='rest'`, which loads tables from a REST catalog:
+
+```sql
+CREATE CATALOG rest_catalog WITH (
+  'type'='iceberg',
+  'catalog-type'='rest',
+  'uri'='https://localhost/'
+);
+```
+
+The following properties can be set if using the REST catalog:
+
+* `uri`: The URL to the REST Catalog (Required)
+* `credential`: A credential to authenticate against the REST catalog 
(Optional)
+* `token`: A token to interact with the REST catalog (Optional)

Review Comment:
   ```suggestion
   * `token`: A token which will be used to interact with the server (Optional)
   ```



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