To migrate tables to Apache Iceberg, choose one of four methods per table: take a snapshot to test, migrate in place, register existing files, or rewrite the data into a new table. In-place migration is fastest and keeps files where they are. A rewrite is slower and costs storage, but gives you a clean layout. Match the method to the table, not to the project. For Cloudera platform steps, read Hive to Iceberg migration steps on Cloudera alongside this guide.
Inventory
List every table before you choose. A spreadsheet is enough.
- Name, owner, size, number of files and partitions
- File format (Parquet, ORC, text) and compression
- Managed or external, and where the files sit
- How it changes: append only, updated, deleted, or rewritten daily
- Which engines and jobs read it, and which write to it
- Partition design, and any problems with too many small files
- Access policies and tags that must carry over
- Business owner and a tolerance for downtime
Tables that no job reads are not migration work. Retire them or archive them.
Methods
The Apache Iceberg documentation describes procedures for migrating existing tables. Names and options vary by engine and version, so check what your platform supports.
| Method | What it does | Speed | Extra storage | Rollback | Best for |
|---|---|---|---|---|---|
| Snapshot | Creates a new Iceberg table that points at the existing files, leaving the source untouched | Fast | Little | Drop the new table | A test, or a trial run before a real move |
| Migrate in place | Replaces the source table with an Iceberg table over the same files, and may keep a backup of the original definition | Fast | Little | Restore from the backup definition, if kept | Large tables that readers can pause for a short time |
| Add files | Registers existing data files in an Iceberg table that you have already created | Fast | Little | Drop the table, files stay | Data in a directory that was never a table, or a new table design over old files |
| Rewrite (create table as select, or insert) | Reads the source and writes a new Iceberg table with a new layout | Slow on large tables | A full second copy until you remove the old | Keep the source table | Tables with a bad layout, small files, or a partition change |
Two cautions:
- With the snapshot and add-files methods, the new table and the old one point at the same files. Writing to both can corrupt data or confuse readers. Decide which one is the writer, and stop the other.
- File-level changes, such as compacting or deleting files through Iceberg, can affect the source if the files are shared. Test on a copy first.
Choosing by table type
| Table | Method | Why |
|---|---|---|
| Large, append-only, good layout | Migrate in place | Fast, no copy |
| Large, many tiny files | Rewrite, with a new target file size | Fixes layout as you move |
| Changes daily, with updates | Snapshot to test, then migrate or rewrite in a quiet window | Needs a clear writer cut-over |
| Partitioned in a way you want to change | Rewrite | Iceberg can change partitioning, but moving history to a new design needs a rewrite |
| Raw files in a directory | Add files | No table existed before |
| Small and slow-changing | Any, as a first wave | Cheap proof of the method |
Validation
Prove the new table gives the same answers.
| Check | How |
|---|---|
| Row counts | Count by partition on old and new |
| Checksums | Sum or hash key columns on both |
| Query results | Run the top queries and reports on both, compare output |
| Query speed | Time the same queries, record plans |
| Schema | Compare column names, types and nullability |
| Access | Confirm each role sees the same data |
| Small files | Count files before and after |
Keep the results. For a full test design, see the section on query tests in the steps guide.
Cut-over
- Stop or pause writers to the old table, or switch them to write to the new one in a planned window.
- Run a final validation, then switch readers by changing names or catalog entries.
- Keep the old table and files, read-only, for an agreed period.
- Start routine upkeep on the new table: compaction and snapshot expiry.
- Remove the old table only after sign-off by the table owner.
Rollback means pointing readers and writers back at the old table, which is why you keep it. Migration sits inside a wider lakehouse design, covered in the open data lakehouse hub and the on-premises lakehouse architecture guide.
Questions we hear
What is the fastest way to migrate a Hive table to Iceberg? In-place migration, because it reuses existing data files. It needs a window in which writers stop, and a tested way back.
When should I rewrite instead? When the table has many small files, a poor partition design, or you want a new layout. A rewrite takes longer and needs extra storage during the move.
Can I test without risk? Yes. A snapshot creates an Iceberg table over the same files without changing the source. Do not write to both tables at once.
Do access policies carry over? Not automatically. Re-apply and test policies on the new tables, as in Iceberg security and governance.
A first engagement
Duczer East offers a table inventory and method plan: we classify each table, choose a method with its test and rollback, and hand back a wave plan.
Sources checked November 27, 2026:



