Learn
Why not use AI for the whole data warehouse migration?
Because a migration has to be right, repeatable and provable, and a language model cannot promise the first two. It can give a different answer on each run and makes mistakes nobody can predict, so every object it converts needs checking. Rules-first migration, the approach Novuz takes, converts about 95% of objects by fixed rules, sends only the rest to a resolver, and has an engineer approve every proposal.
~95%
Of objects converted by fixed rules
No model call, no tokens
~5%
Go to the resolver
An engineer approves each fix
700 to 1,000
Tokens per resolved edge case
On a model you approve
Every object
Reconciled on the same inputs
Rule-converted or resolved
Short answer
If AI can fix the hard objects, why not let it convert everything?
Because using AI on 5% of an estate and using it on 100% are different jobs. At the edge, a model proposes a fix for a handful of objects, a person reads each one, and a check proves it. Across the whole estate, the model is the converter, nobody can read everything it wrote, and its mistakes can land anywhere.
AI for the whole estate
Every object is a fresh guess
- Output can change from one run to the next
- Mistakes land anywhere, so everything needs review
- Tokens on every object, and again on every rerun
- A fix to one object teaches the next one nothing
- Proof is a separate project
Rules first, AI at the edge
Certainty for the bulk, judgment for the rest
- The same input gives the same output
- A fix to a rule fixes every object that uses it
- No tokens for about 95% of objects
- Only about 5% needs a person to read it
- Every object reconciled before cutover
What goes wrong
What goes wrong when a language model converts a whole estate?
Six things, and they compound as the estate grows.
The output changes between runs
Convert the same object twice and you can get two different results. What you tested is not always what you deploy.
Mistakes are scattered, not systematic
A rule that is wrong is wrong the same way everywhere, so one fix repairs every case. A model’s mistakes are one-offs, and each has to be found on its own.
It can look right and be wrong
Converted code can compile, read well and still return different numbers. Only a comparison on the same inputs shows it.
Review does not scale
Reading 50 proposals carefully is a few days of work. Reading 1,500 conversions is a second migration.
The bill follows the retries
Each attempt costs tokens, hard objects take several attempts, and a change means running them again.
It sees one object at a time
An estate is a web of dependencies. A model handed one file does not know what feeds it or what reads from it.
The question is not how many objects convert. It is which ones are wrong.
If nine in ten are right and nobody knows which nine, all ten still have to be checked.
Evidence
What does independent research say about AI code translation?
Published studies find accuracy well short of what a production migration needs. They test general code and SQL translation, not any vendor’s migration product, and models keep improving, so read them as a reason to verify, not as a verdict.
- A study presented at ICSE 2024 translated 1,700 code samples across five programming languages and found correct translations ranging from 2.1% to 47.3% for the models studied.
- PARROT, a NeurIPS 2025 benchmark of 598 SQL translation pairs across 22 database systems, reports that language models average under 38.53% accuracy.
- Neither is a benchmark of your estate. The practical test is simple: convert ten of your own objects twice and compare the results.
Rules first
Why do fixed rules handle the bulk better?
Most of an estate follows patterns. A rule converts a pattern the same way every time, which gives you four things a model cannot.
- Same input, same output: a rule gives the same code on every run, so it is tested once and versioned.
- Fix once, fixed everywhere: correcting a rule corrects every object that uses it on the next run.
- Nothing to pay per attempt: rule-converted objects use no tokens, which is why the price can be fixed before work starts.
- Something to show an auditor: the rule version and a reconciliation report for each object.
Where AI belongs
Where does AI earn its place in a migration?
On the objects that fit no pattern: unusual procedural logic, vendor-specific constructs, control flow that needs judgment. Rules cannot settle those, and a language model is good at proposing a way through. Novuz is not against AI. It puts AI where judgment is needed and rules where certainty is needed.
- 01
About 5%
Rules flag it
No rule fits the object, or its reconciliation check fails.
- 02
Not a bare file
The resolver gets context
The source, what the rules converted around it, the lineage and the rows that differ.
- 03
A proposal
It proposes a fix
On a model you approve, at about 700 to 1,000 tokens per edge case.
- 04
A person signs
An engineer decides
Approve, edit or reject. Nothing deploys unapproved.
- 05
Every object
Novuz proves it
The fix is reconciled against the original on the same inputs.
Why the edge is different
Why is AI safe at the edge and risky across the whole estate?
Four differences, and none of them is the model.
Scope
A few dozen proposals can each be read by an engineer. A whole estate cannot.
Context
The rules have already converted everything around the object, so the model starts with the trace, the lineage and the exact check that failed.
Role
The model proposes and a person decides. It never deploys anything on its own.
Proof
A resolved object is reconciled like every other object, so a wrong proposal is caught before cutover.
AI proposes. An engineer decides. Reconciliation proves.
That order is what makes a model useful in a migration. Without the last two steps, it is a fast way to produce code nobody has checked.
Your model
Which model does the resolver use?
One you approve: Claude or Gemini under your own agreement, or a local model through Ollama for a fully offline setup. The resolver is model-agnostic by design, so the choice is yours. Your code and data are never used to train a model.
Limits
When is an AI-led conversion the right choice?
For a few hundred simple SQL objects moving to one platform, where you will test each one by hand, an AI assistant or the platform’s own tool can be enough and is quick to start. Rules first earns its place when the estate is large, includes procedures, packages and schedules, and someone has to sign that the numbers match.
Test it
How can we test any migration tool, including Novuz?
- Run it twice: convert the same ten objects twice and compare the output.
- Ask which objects are wrong. Not the pass rate: the list.
- Ask for the final price in writing, including retries and reruns.
- Ask what proof you receive for each object, and what the auditor sees.
- Ask who approves AI output before it deploys.
Next question
Where to read next
How the rules work, and what a fixed price depends on.
FAQ
Frequently asked questions
If Novuz uses AI for edge cases, why not use AI for the whole migration?
Because the two jobs are different. At the edge, a model proposes a fix for about 5% of objects, an engineer approves each one and reconciliation proves it. Across a whole estate, nobody can review everything a model writes, its output can change between runs, and its mistakes can land anywhere. Novuz converts about 95% of objects by fixed rules so that only the rest needs judgment.
Is Novuz an AI migration tool?
Novuz is a rules-first migration platform that uses AI in one place. Fixed, versioned rules convert about 95% of objects with no model call. A resolver proposes fixes for the remaining edge cases on a model you approve, and an engineer approves every proposal.
Is an AI-led migration cheaper?
It can be cheaper to start. The total depends on retries, reruns and the review and validation that follow, which usage pricing does not fix in advance. Ask any vendor for the final number for your estate in writing before work starts. Novuz sets one fixed price from a three-day assessment, and token use never changes it.
How do we know an AI-converted object is correct?
Run the original and the converted object on the same inputs and compare schema, row counts, aggregates and sampled rows. Code that compiles and reads well can still return different numbers. Novuz reconciles every object this way before cutover.
Does the resolver send our code to a model provider?
Only if you choose a hosted model. The resolver runs on a model you approve: Claude or Gemini under your own agreement, or a local model through Ollama for a fully offline setup. Your code and data are never used to train a model.
Sources and further reading
- Pan et al., "Lost in Translation: A Study of Bugs Introduced by Large Language Models while Translating Code," ICSE 2024: across 1,700 code samples in five languages, correct translations ranged from 2.1% to 47.3% for the models studied
- PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation, NeurIPS 2025: 598 translation pairs across 22 database systems; language models average under 38.53% accuracy
Written by Ted Ghose, Co-founder and CTO, Novuz
Last reviewed:
Find out what your logic debt is costing you.
Every object counted, lineage, dead code and a fixed price in three business days. $3,000, credited.
Not sure which door? The scorecard takes ten minutes and tells you.