You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "911432 (via GitHub)" <gi...@apache.org> on 2023/03/30 10:20:46 UTC

[GitHub] [iceberg] 911432 commented on a diff in pull request #7215: Fixed link and Add Rest catalog

911432 commented on code in PR #7215:
URL: https://github.com/apache/iceberg/pull/7215#discussion_r1153049976


##########
docs/flink-connector.md:
##########
@@ -94,7 +94,24 @@ CREATE TABLE flink_table (
 );
 ```
 
-## Table managed in custom catalog
+## Table managed in Rest catalog
+
+The following SQL will create a Flink table in current Flink catalog, which maps to the iceberg table `default_database.flink_table` managed in Rest catalog.
+
+```sql
+CREATE TABLE flink_table (
+    id   BIGINT,
+    data STRING
+) WITH (
+    'connector'='iceberg',
+    'catalog-name'='rest_prod',
+    'catalog-type'='rest',
+    'uri'='https://localhost/'
+    -- credential, token is Optional

Review Comment:
   @hililiwei Should I delete flink-connector.md? It's explained on the FLink-ddl page, so flink-connector.md seems unnecessary.



-- 
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-unsubscribe@iceberg.apache.org

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


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