Open table formats make data accessible across engines, but true portability also requires the ability to move catalog management safely. New REGISTER and UNREGISTER endpoints provide a standard way to transfer an Iceberg table between catalogs without copying, rewriting, or moving the underlying data.
Key Highlights
- Attach existing tables with REGISTER: Register an existing table by providing its current metadata location. The catalog creates a reference to the table without copying or modifying data files.
- Relinquish ownership with UNREGISTER: Remove a table from its current catalog without deleting its data or metadata. The response returns the latest metadata location needed by the next catalog.
- Prevent split-brain scenarios: REGISTER alone can leave two catalogs believing they manage the same table. UNREGISTER provides the explicit handoff step needed to ensure only one catalog coordinate commits.
- Build on an open standard: UNREGISTER has been contributed to the Apache Iceberg REST catalog specification, adding a standard mechanism for clean catalog handoffs.
- Keep migrations operationally safe: A production move still requires stopping writers, unregistering from the original catalog, registering with the new catalog, and repointing jobs before writing resume.
๐ Read the full post here