rdblue commented on a change in pull request #3308: URL: https://github.com/apache/iceberg/pull/3308#discussion_r731989583
########## File path: site/docs/flink.md ########## @@ -190,9 +190,30 @@ For more details, please refer to the [Python Table API](https://ci.apache.org/p Flink 1.11 support to create catalogs by using flink sql. +### Catalog Configuration + +A catalog is created and named by executing the following query (replace `<catalog_name>` with your catalog name and +`<config_key>`=`<config_value>` with catalog implementation config): + +```sql +CREATE CATALOG <catalog_name> WITH ( + 'type'='iceberg', + `<config_key>`=`<config_value>` +); +``` + +The following properties can be set globally and not limited to specific catalog implementation: + +* `type`: Please just use `iceberg` for iceberg table format. (Required) +* `catalog-type`: Iceberg currently support `hive` or `hadoop` catalog types, as well as custom catalogs. When using a custom catalog, this should be left unset. (Required) Review comment: I think this should be: `hive` or `hadoop` for built-in catalogs, or left unset for custom catalog implementations using `catalog-impl` -- 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]
