Add an Iceberg catalog to query and write Iceberg tables whose metadata is in a Hive
Metastore. The catalog reads the Hive configuration that the Cloudera Base Connector provides.
Connect your deployment to a Cloudera Base on premises
cluster. For more information, see Using Cloudera Base Connector in the Anywhere Cloud documentation.
The Cloudera Base Connector is required for a Hive-backed Iceberg catalog. With the connector,
the catalog works with the default values, and you do not need to upload configuration
files.
The Iceberg connector is version 1.11.0.
In the Streaming SQL Console, click Projects in the left
navigation pane, and click the name of your project.
The project opens, with the Explorer panel on the left.
To open the Streaming SQL Console, see Accessing Cloudera SQL Stream Builder.
In the Explorer, open the menu of
Catalog under Data Sources, and click
New Catalog.
In Catalog Type, select Iceberg.
In Name, enter a name for the catalog.
In Backing Catalog Type, select Hive.
The catalog editor supports the Hive and Cloudera Harmony backing catalog types. These steps describe the Hive type. With DDL, you can also use Hadoop and REST catalogs.
Optional: Optional: In Default Database,
enter the database to use by default.
Keep the default Hive Configuration Directory path.
Keep Use project folder off, and keep the path
/etc/hive/conf. This path holds the configuration that the Cloudera
Base Connector provides.
Optional: Optional: Set the Database Filter
and Table Filter.
Click Validate, and then click
Create.
The warehouse location and the storage of the tables come from the Hive Metastore. Therefore, the
catalog has no warehouse field. To create tables, see Creating Iceberg
tables.