Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
* <li><code>warehouse</code> - the warehouse path (Hadoop catalog only)</li>
* <li><code>default-database</code> - a database name to use as the default</li>
* <li><code>base-namespace</code> - a base namespace as the prefix for all databases (Hadoop catalog only)</li>
* <li><code>cache-enabled</code> - whether to enable catalog cache</li>
* </ul>
* <p>
* To use a custom catalog that is not a Hive or Hadoop catalog, extend this class and override
Expand Down
1 change: 1 addition & 0 deletions site/docs/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ CREATE CATALOG hive_catalog WITH (
* `property-version`: Version number to describe the property version. This property can be used for backwards compatibility in case the property format changes. The current property version is `1`. (Optional)
* `warehouse`: The Hive warehouse location, users should specify this path if neither set the `hive-conf-dir` to specify a location containing a `hive-site.xml` configuration file nor add a correct `hive-site.xml` to classpath.
* `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 overwrote with the `warehouse` value if setting both `hive-conf-dir` and `warehouse` when creating iceberg catalog.
* `cache-enabled`: Whether to enable catalog cache, default value is `true`

### Hadoop catalog

Expand Down
1 change: 1 addition & 0 deletions site/docs/spark-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Both catalogs are configured using properties nested under the catalog name. Com
| spark.sql.catalog._catalog-name_.default-namespace | default | The default current namespace for the catalog |
| spark.sql.catalog._catalog-name_.uri | thrift://host:port | Metastore connect URI; default from `hive-site.xml` |
| spark.sql.catalog._catalog-name_.warehouse | hdfs://nn:8020/warehouse/path | Base path for the warehouse directory |
| spark.sql.catalog._catalog-name_.cache-enabled | `true` or `false` | Whether to enable catalog cache, default value is `true` |

Additional properties can be found in common [catalog configuration](./configuration.md#catalog-properties).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
* <li><code>uri</code> - the Hive Metastore URI (Hive catalog only)</li>
* <li><code>warehouse</code> - the warehouse path (Hadoop catalog only)</li>
* <li><code>default-namespace</code> - a namespace to use as the default</li>
* <li><code>cache-enabled</code> - whether to enable catalog cache</li>
* </ul>
* <p>
* To use a custom catalog that is not a Hive or Hadoop catalog, extend this class and override
Expand Down