Data catalog

Iceberg tables

What Apache Iceberg gives you and how it shows up in the Data Catalog.

Databaas stores your tables as Apache Iceberg tables. You never manage Iceberg yourself, but what it gives you explains several things you see in the catalog and in queries.

Snapshots and time travel

Every write creates a new snapshot: a complete, consistent version of the table at that moment. The table has one current snapshot, and older ones are kept. Because past snapshots survive, you can read a table as it was at an earlier point (time travel), which keeps a query reproducible even while a pipeline keeps writing.

In SQL, time travel and rollback look like this:

Read an earlier snapshot, or roll back to it
SELECT * FROM "iceberg"."sales"."orders" FOR VERSION AS OF 4635221358121004121

ALTER TABLE "iceberg"."sales"."orders" EXECUTE rollback_to_snapshot(4635221358121004121)

You don’t have to look up snapshot ids yourself: a table’s History tab in the Data Catalog lists every snapshot and copies both statements for you; see table details. In a notebook, pass snapshot_id= to a scan; see read an earlier version.

Schema evolution

An Iceberg table has a real schema: named columns with types, some required. The schema can change (a column added, say) without rewriting existing data, so a long-lived table keeps working as it grows. The current columns are on the table’s Overview tab.

One table, many engines

The same Iceberg table is read by every engine through the shared catalog: the SQL Editor, a notebook, a dashboard and a pipeline. They all ask the catalog where the data is and read it from there. That is why a table you load in Python and one you query in SQL are the same table, with the same rows.

Who is asking decides what an engine may read:

  • The SQL Editor, notebooks and dashboards read as you, with your own data grants.
  • A pipeline reads and writes with the grants of its service account, not yours.

Not everything is Iceberg

The catalog also lists generic tables: registered, but not Iceberg, such as a folder of files, a Zarr store or a Lance table. They carry a format badge, have no snapshots, columns or preview, and show their files instead. A gridded Zarr store can also open in the Map Viewer. See tables that are not Iceberg.

Going deeper

To work with Iceberg from Python the platform uses pyiceberg; see querying data for the Databaas helpers that load a catalog for you. For the format itself, read the Apache Iceberg documentation. The terms used here are collected in core concepts.