Skip to main content

Manage Warehouses

Warehouses define storage locations where Iceberg table data files reside. Every catalog requires a warehouse, and location mappings use warehouses to translate file paths during replication.


Add a Warehouse

  1. Navigate to Iceberg > Warehouses
  2. Click Add New Warehouse
  3. Enter a Name (e.g. production-s3)
  4. Enter the Location — the root path to the storage location
  5. Optionally add Notes
  6. Click Create

Common location formats:

StorageExample
S3s3://bucket-name/warehouse
HDFShdfs://nameservice1/warehouse
Azure ADLSabfss://container@account.dfs.core.windows.net/warehouse
GCSgs://bucket-name/warehouse
Local filesystemfile:///opt/warehouse

Edit a Warehouse

  1. Open the warehouse from Iceberg > Warehouses
  2. Click the Settings tab
  3. Modify the name, location, or notes
  4. Click Save

Delete a Warehouse

  1. Open the warehouse and click the Settings tab
  2. Click Delete Warehouse

A warehouse cannot be deleted if it is referenced by any catalog or location mapping. Remove those references first.


Location Mappings

Location mappings define how file paths are translated when replicating between catalogs that use different storage backends. Without a mapping, Ice Flow cannot determine where to write data files on the target.

Create a Location Mapping

  1. Navigate to Iceberg > Replications and click the Location Mappings tab
  2. Click Create New Location Mapping
  3. Select the Source warehouse and enter the Source path
  4. Select the Target warehouse and enter the Target path
  5. Click Create

Example

If your source catalog stores data at s3://prod-bucket/warehouse and your target uses s3://dr-bucket/warehouse:

FieldValue
Source warehouseproduction-s3
Source paths3://prod-bucket/warehouse
Target warehousedr-s3
Target paths3://dr-bucket/warehouse

During replication, a file at s3://prod-bucket/warehouse/db/table/data-001.parquet will be written to s3://dr-bucket/warehouse/db/table/data-001.parquet.

Associate a Mapping with a Replication

Location mappings are global. To use a mapping with a replication, associate it on the replication's Mappings tab.

Edit or Delete a Mapping

Open the mapping from the Location Mappings list. The detail page shows the full mapping configuration and provides options to edit notes or delete the mapping.