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


##########
docs/docs/flink.md:
##########
@@ -223,6 +223,25 @@ The following properties can be set if using the Hive 
catalog:
 * `hive-conf-dir`: Path to a directory containing a `hive-site.xml` 
configuration file which will be used to provide custom Hive configuration 
values. The value of `hive.metastore.warehouse.dir` from 
`<hive-conf-dir>/hive-site.xml` (or hive configure file from classpath) will be 
overwritten with the `warehouse` value if setting both `hive-conf-dir` and 
`warehouse` when creating iceberg catalog.
 * `hadoop-conf-dir`: Path to a directory containing `core-site.xml` and 
`hdfs-site.xml` configuration files which will be used to provide custom Hadoop 
configuration values.
 
+### 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:

Review Comment:
   this is alreay documented in `flink-configuration.md` so it might be better 
to just refer to that part of the docs (instead of duplicating it). 
   I also realized that this is also true for other catalog configurations on 
this site, so it would be nice to fix those as well



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to