Skip to main content

Catalogs

A catalog is a set of tables an engine can query. Control Plane → Infrastructure → Catalogs is the registry of every catalog the platform knows about: Iceberg warehouses that egret manages itself, and external sources such as a Hive metastore, a JDBC database or generated TPC-H data. From here you attach a catalog to an engine so it can be queried, and assign it to workspaces so they can see it.

The Catalogs list: the egret warehouse demo_warehouse, the JDBC catalog finance_pg and the TPC-H catalog tpch_bench

You need catalog_registry:read to open the page. Creating, editing, attaching and assigning need the matching catalog_registry permissions (see the permissions catalog).

The catalog list​

A strip counts catalogs, how many are attached to an engine and how many are needing attention.

ColumnMeaning
NameThe catalog name, as it is addressed in SQL on every engine.
Kindegret warehouse, iceberg, hive, delta, hudi, jdbc, elasticsearch, tpch, tpcds or generic.
EnginesHow many engines it is attached to, and their names.
WorkspacesHow many workspaces it is assigned to, and their names.
StatusShows a state when the catalog needs attention, for example an attachment that could not be applied; a dash otherwise.
ActionsDelete.

How catalogs become usable​

A catalog goes through three steps, each on the catalog's page:

  1. Create it (see Create a catalog). This stores its configuration. Nothing is queryable yet.
  2. Attach it to an engine (Engines tab). The engine can now query it. On a provisioned Trino engine this restarts the coordinator; on an external engine it only declares that the engine serves the catalog.
  3. Assign it to workspaces (Workspaces tab) so those workspaces see it in their engine view.

The Governance area uses step 2: grants and rules on a catalog reach only the policy profiles of engines that serve it.

Delete a catalog​

Press Delete on a row. The dialog Delete «<catalog>»? asks you to type delete. A catalog that is still attached to an engine or assigned to a workspace is refused: the dialog says The server refuses a catalog that anything still uses, so this delete cannot go ahead yet. Detach it from every engine and unassign it from every workspace first. and lists what it still has, for example Attached to engine trino-demo-ext. For an egret warehouse the Settings tab holds a soft-delete retention (see Catalog detail).

Egret warehouses and external catalogs​

egret warehouseExternal catalog
What it isAn Iceberg warehouse egret runs itself, over a storage connectionA source egret does not manage
MetadataHeld in egret's embedded catalogIn the external metastore or database
Extra tabsRoles & grants, Catalog Clients, Browse, Connect, SettingsConfiguration, Engines, Workspaces only
Governance tagsYesNo

Limits and known issues​

  • The kind cannot be changed after creation, because engines read a different set of properties for each kind.
  • Attaching a Trino catalog restarts the coordinator, so queries in flight are lost.
  • Governance tags work only on egret-managed catalogs.

Further reading​