Adding an Iceberg catalog

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.

  1. 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.
  2. In the Explorer, open the menu of Catalog under Data Sources, and click New Catalog.
  3. In Catalog Type, select Iceberg.
  4. In Name, enter a name for the catalog.
  5. 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.
  6. Optional: Optional: In Default Database, enter the database to use by default.
  7. 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.
  8. Optional: Optional: Set the Database Filter and Table Filter.
  9. 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.