How a state public health department brought its infectious disease data pipelines to Databricks in two months
A US state public health department, Datafold, and Databricks brought 1,137 objects across two disease surveillance pipelines onto the department's enterprise Databricks platform in two months, with every object validated against the source system at a 99% match or better.
Highlights
- 1,137 objects translated, deployed, and validated in two months, from the day the department cleared AI-driven translation to the day the last object was delivered
- 99%+ match on every object, most at 99.99% to 100%, proven with continuous cross-database data diffs rather than spot checks
- Delivered three weeks ahead of schedule, with a single Datafold engineer handling translation, validation, and deployment end to end
The department cleared an AI governance review, a security review, and change control, and still delivered three weeks ahead of schedule. This is how.
About the customer
The customer is the public health department of a US state. Its infectious disease data warehouse takes in case reports and lab results from across the state, standardizes them, and distributes disease data to internal programs and to the local health agencies that respond on the ground. Two disease surveillance pipelines were in scope for this project.
Why the department moved to Databricks
The department has standardized on Databricks as its enterprise data platform. The infectious disease warehouse was the natural next step: the team behind it ran a mature data warehouse on Snowflake, and the department wanted that expertise and that product represented on the enterprise platform alongside its other programs.
The challenge
- The data cannot be wrong. These pipelines feed disease case data to programs and local health agencies that act on it. The project’s sponsors were explicit at kickoff: any data loss or integrity issue would mean the project had failed. Every object had to be proven equivalent, not spot-checked.
- Everything inside the department’s boundary. The department requires a formal AI governance review before any AI system can touch its data, and single sign-on through its own identity provider for every system. The migration tooling, and the AI models behind it, had to run inside the department’s own environment.
- A live source. Both pipelines stayed under active development throughout the project, including a release that touched more than 200 objects. The migrated code had to keep pace.
How Datafold did it
Datafold delivered the migration with the Datafold Migration Agent (DMA): an autonomous system that maps a legacy codebase into a knowledge graph of every object and its dependencies, plans the work, translates the code, deploys it to the target platform, and proves equivalence with cross-database data diffs, iterating on its own output until the data matches. Databricks supported the engagement throughout.
Inside the department’s environment
Datafold deployed its platform into the department’s own cloud environment and ran AI-driven translation through the department’s Databricks model endpoints, so model calls never left that environment. Datafold worked with the department’s information security office on the AI governance review, and once it cleared, the first translations were delivered within about two weeks.
Translation, and knowing what not to translate
Datafold rebuilt ingestion on Databricks first and validated it at 100% against the source before touching any transformation logic. DMA then translated the hand-written SQL in bulk, with parallel agents translating, executing, and self-correcting, and escalating to a human only when a question needed the department’s business context. Where one pipeline generated hundreds of delivery views from a handful of stored procedures, Datafold ported the generator instead of translating the views one by one, moving 672 views for the cost of three procedures. When a mid-project release changed the source, DMA re-translated the affected objects and re-validated them.
Proving parity, continuously
Every translated object shipped with a cross-database data diff comparing its Databricks output to the source, row by row and value by value. When a diff showed a mismatch, the agent diagnosed the cause and corrected its translation until the outputs converged; where a difference traced back to timing or to the source data itself, Datafold documented it and shared it with the department. Once deployed, every object got a continuous diff monitor, so parity is measured every day and not once at delivery.
A codebase the department owns
The deliverable is the department’s own repository: clean SQL, an automated deployment pipeline that validates every change and deploys on merge, and a documented handoff covering operations, change management, scope, and validation. The department’s team can run and extend it without Datafold.
The results
1,137 objects delivered in two months, three weeks ahead of schedule
From the day the department cleared AI-driven translation, DMA translated, deployed, and validated the first pipeline in under six weeks and completed the second within three weeks after that. A single Datafold engineer handled translation, validation, and deployment end to end. At the program’s stakeholder readout, the department reported that the work had landed three weeks ahead of schedule.
99%+ match on every object
Every delivered object holds a 99% or better match against its source counterpart under continuous monitoring, and the large majority sit at 99.99% to 100%. Datafold explained and documented each remaining difference, and the department’s team reviewed them with the diff evidence in hand.
Conclusion
The department set out to show that a mature, high-stakes public health data warehouse could be brought onto its enterprise Databricks platform without compromising the data that programs and local health agencies depend on. It now has both pipelines running on Databricks, every object validated against the source, and a codebase and runbook that its own team owns.
About Datafold
Datafold delivers the fastest migrations to modern data platforms, at a fixed price and on a guaranteed timeline, through end-to-end AI automation. Customers get a finished, validated migration without having to staff one.