How Do You Migrate Snowflake to Iceberg and Validate Parity Without Breaking Consumers?
A five-step plan for parallel runs, row-level parity checks and per-dataset consumer cutover
To migrate Snowflake to Iceberg without breaking consumers, run the Iceberg pipelines in parallel with the existing Snowflake ones, prove row-level parity for each dataset, and move consumers one dataset at a time. New Relic's write-up describes this pattern for more than 1,000 datasets, and it reports a 35-52% reduction in annual data platform spend. The hard part is not the table format. It is proving the new table is the same as the old one, and knowing who reads it.
Key Takeaways
- •Run the old and new pipelines in parallel. New Relic wrote to Snowflake and Iceberg at the same time and required row-level parity before any pipeline was cut over.
- •Validate parity at the row level, not by sampling. Row counts alone miss swapped values, truncated decimals and shifted timestamps.
- •Move consumers per dataset, after that dataset's parity is confirmed. This keeps the blast radius to one dataset and keeps rollback to a pointer change.
- •Decide the catalog first. Snowflake's docs split Iceberg tables into Snowflake-managed and externally managed catalogs, and the two get different platform support.
- •Decommission last, and only on evidence: a parity record, zero remaining readers and a retention window for rollback.
Why consumers break in a table-format migration
A table-format migration rarely fails because the data is wrong in an obvious way. It fails because a downstream dashboard, a dbt model or a reverse-ETL job depended on a behavior nobody wrote down: a column's exact type, a timezone convention, the order of ties in a window function, or the way nulls were coerced on load. The consumer never asked for those guarantees, but it relied on them.
That is why the parallel-run pattern matters. If the new table is built beside the old one and nothing reads it yet, a mismatch is a finding in a report. If the new table replaces the old one in place, the same mismatch is an incident that a stakeholder finds first. The goal of the whole plan is to move every discovery from the second case to the first.
The five steps below follow the order we would run them in: map who reads what, build in parallel, define parity, cut over per dataset, and decommission on evidence. Each step produces an artifact you can review, which is what lets a team hand parts of the work to agents without losing control of it.
Step 1: Map consumers before you move a byte
Start with the question "what's the blast radius if I change this table?" for every dataset in scope. Pull query history and lineage to list each reader: BI dashboards, scheduled jobs, notebooks, downstream models and external shares. Record the role or service account behind each one. A table with no readers in the last 90 days is a decommission candidate rather than a migration candidate, and finding those early shrinks the project.
Next, tier the datasets. Put leaf tables with one or two internal readers in the first wave, and shared dimension tables that feed dozens of models in the last. New Relic's account of moving over 1,000 datasets is a useful reminder that order matters at this scale: you want your first cutovers to teach you something cheap.
Finally, write down what each consumer assumes about the table. Column types, nullability, freshness expectations and grain are the usual ones. These assumptions become the parity checks in step 3. Our Schema Agent does the lineage and impact part of this step by projecting downstream impact for a column or table, but the same map can be built by hand from query history if you are not using agents.
Step 2: Choose the catalog and build Iceberg in parallel
Decide how Snowflake will see the Iceberg tables before you write any. According to the Snowflake Iceberg documentation, a table that uses Snowflake as its catalog gets full platform support with read and write access, and Snowflake handles lifecycle maintenance such as compaction. A table that uses an external catalog gets limited platform support, and Snowflake does not manage its lifecycle. Pick based on which engines need to write.
Check format compatibility next. The same page says Snowflake supports Iceberg specification versions 1, 2 and 3, with exceptions such as row-level equality deletes. If your existing writers produce equality deletes, you need to know before the first parallel run rather than during validation. The Apache Iceberg spec defines the snapshot and commit semantics that make a later rollback cheap, since each commit produces a new table snapshot.
Then build the Iceberg pipelines beside the Snowflake ones, fed from the same sources and on the same schedule. Do not point any consumer at them yet. Keep the target schema names distinct so that a typo cannot silently redirect a reader. This is the step where a migration tool earns its keep: our Migration Agent analyzes the existing SQL and emits dbt or SQLMesh targets for the new tables, and you review the output the way you would review any pull request.
Step 3: Define and run row-level parity
Parity needs a definition before it needs a tool. We use four layers, ordered from cheapest to most expensive. First, schema parity: column names, types, precision and nullability match, or differ only where you approved a change. Second, volume parity: row counts per partition or per day. Third, aggregate parity: sums, distinct counts and min/max on key and measure columns. Fourth, row-level parity: a keyed comparison of every row, or a hash of each row compared across both tables.
The fourth layer is the one that catches the damaging bugs. New Relic's write-up states that row-level parity checks were required before any pipeline could be cut over, and that the team did not rely on sampling. A sample can pass while a rare timezone edge case or a decimal rounding rule fails on the rows you did not draw.
Run parity on every parallel cycle, not once. Late-arriving data, backfills and schema changes all introduce drift after the first green result. Store each run's result with the dataset name, the compared time window and the mismatched keys, so the cutover decision in step 4 rests on a record rather than on memory. Decide ahead of time which differences are acceptable, such as a float rounding tolerance, and write the tolerance down.
Step 4: Cut consumers over one dataset at a time
Once a dataset has passed parity for an agreed number of consecutive cycles, move its readers. New Relic's approach was incremental consumer migration: each dataset's consumers moved only after that dataset's parity was confirmed. That limits the blast radius to one dataset and keeps a clean rollback path for the whole project.
Make the cutover a pointer change, not a rewrite. Where you can, repoint a view, an alias or a model reference from the Snowflake table to the Iceberg one, so that rollback is the same change in reverse. Move low-risk readers first, such as an internal notebook, then scheduled models, then executive dashboards. After each move, watch freshness and row counts on the consumer side for at least one full schedule cycle.
Keep the old pipeline writing during this period. If the Iceberg path falls behind or a downstream job returns a different number, you flip the pointer back and the Snowflake table is still current. The cost of running both is real, and it is the price of a rollback that takes minutes. Our Observability Agent can watch freshness and lineage on the new tables during this window and flag the first reader that diverges.
Step 5: Decommission on evidence
Decommission is the step teams rush, because the savings only arrive once the old tables are gone. Resist that. Before dropping a Snowflake table, require three things: a recorded parity pass covering the final cycles, a query-history check showing no remaining readers other than the migration's own comparison jobs, and an agreed retention period during which the table is renamed or kept read-only rather than dropped.
Treat "no reads" as a signal, not a verdict. A quarterly finance job or an annual audit query will not appear in a 30-day window. Look back across at least one full business cycle, and ask owners of the quarterly and annual jobs directly. Then drop in stages: revoke write, then revoke read, then rename, then drop.
After the drop, keep the parity records. They are your evidence for the audit trail, and they are the baseline you compare against if a consumer reports a number that changed. The savings New Relic reports, a 35-52% reduction in annual platform spend, arrive only once this last step is done, so budget time for it rather than treating it as cleanup.
Where agents help and where humans stay
Three parts of this plan are mechanical and repeat for every dataset: building the consumer map, generating the new pipeline code, and running parity every cycle. These suit agents, because each step has a checkable output. Three parts are judgment calls: the choice of catalog, the acceptable tolerance for a difference, and the final approval to drop a table. Those should stay behind human approval.
This is the same split we apply across data operations. The Autonomous Data Conductor can run the repetitive parts per domain, and a per-domain autonomy dial decides how much runs without a person. For a migration, we would set the dial to propose-only for the first wave, then widen it once the parity record shows the checks catch real mismatches. The open-source edition is read-only by default, which fits the consumer-mapping and parity-reporting steps well.
You can ask these questions in Claude Code or Cursor against the connected warehouse: "What's the blast radius if I drop this column?", "What tables haven't been queried in 90 days?" and "Is the customer_id join safe after the migration?" Each one maps to a step above, and each one returns something a reviewer can check.
Frequently Asked Questions
Is row count enough to validate parity?
No. Equal row counts only show that the same number of rows arrived. Values can still differ through type coercion, rounding, timezone shifts or reordered ties. Use row counts as the cheap first filter, then run aggregate checks, then a keyed row-level comparison, which is the level New Relic reported requiring before cutover.
Do I need to stop writes to Snowflake during the migration?
No, and you should not. Keep the Snowflake pipeline writing until the dataset's consumers have moved and the retention window has passed. That is what makes rollback a pointer change instead of a restore.
Should I use a Snowflake-managed or external catalog?
It depends on who writes. Snowflake's documentation says a Snowflake-managed catalog gives full platform support with read and write access, while an external catalog gives limited support and leaves lifecycle management to you. If other engines must write the tables, an external catalog may be required, and you accept the reduced platform support.
How long should a dataset stay in parallel?
Long enough to cover its slowest cycle plus any known backfill or month-end behavior. A daily table needs at least a few consecutive green days. A table with monthly logic needs a month-end. Set the number of consecutive passing cycles per dataset tier before you start.