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