# ZAGENO Migrates 230 Data Models to Spark Pipelines in Two Weeks

> By pairing agentic migration tooling with human review and parallel validation, ZAGENO moved four years of transformation logic in weeks. The project returned hundreds of engineering hours to work supporting its global life sciences marketplace.

**Source**: databricks.com | **Published**: 2026-11-24 | **Type**: case_study

## Key Facts

- ZAGENO converted 230 models in 2 weeks versus 3 months estimated manually, freeing hundreds of engineering hours.
- A 2-week parallel run ended with zero open discrepancies, showing speed did not compromise production data fidelity.
- Consolidating transformations on Databricks creates a modular base to improve catalog, pricing and availability data faster.
- Human approval and validation kept engineers in control, suggesting agentic automation can scale without surrendering oversight.
- The time reclaimed can shift engineering capacity to customer-facing data products, strengthening marketplace quality and service.

## Summary

\## Summary
ZAGENO, a B2B life sciences marketplace, set out to move 230 SQL transformation models to Spark Declarative Pipelines (SDP) as part of a broader effort to simplify its data architecture. Using Databricks agentic migration tooling, the team converted the models in two weeks and completed the migration in about a month, compared with an estimated three months for manual work. The project saved hundreds of working hours for data engineers, with zero open discrepancies at cutover.

\## Background
ZAGENO connects biotech and pharma R&D teams with products from thousands of suppliers across multiple global regions. Its marketplace data estate covers hundreds of millions of product, pricing, availability and supplier records. Before the migration, its transformation layer included 230 SQL models developed over four years.

\## Challenge
Recreating and validating the 230 production models manually was expected to take approximately three months. The work also required careful checks to ensure that downstream catalog, pricing, availability and supplier data remained consistent.

\## Solution
ZAGENO used Databricks agentic migration tooling in Genie Code to convert its SQL models to Spark Declarative Pipelines. The workflow kept engineers in control: the agent proposed a plan, requested approval, incorporated feedback, simulated changes and implemented them after review.

The team used the Genie Code SDP skill to check completeness, correctness, freshness and fidelity. It ran the existing transformation pipelines alongside the new SDP pipelines for two weeks before cutover. SDP provided declarative pipeline definitions and dependency context, while the framework handled dependency derivation and execution orchestration.

\## Results
- Converted all 230 models in two weeks.
- Completed the migration in about a month, including two weeks of parallel validation, versus an estimated three months for manual work.
- Saved hundreds of working hours for data engineers.
- Reached cutover with zero open discrepancies.
- Consolidated the transformation layer on Databricks, creating a more modular foundation for future development.

\## Key Insights
- Agentic tooling can accelerate substantial migration work while engineers retain control over plans and changes.
- Parallel runs of old and new pipelines gave the team a way to validate data fidelity before cutover.
- Declarative pipelines provide agents with explicit pipeline and dependency context, while abstracting operational complexity.
- Reducing migration effort can free engineering capacity for improvements to customer-facing data products.

\## Customer Testimonial
“The agent did the translation; our job was reviewing its plan and designing the validation. Running the old and new pipelines side by side for two weeks is what let us cut over with confidence.” — Mateusz Wichowski, Senior Data Analyst

## Entities

- **Companies**: ZAGENO, Databricks
- **Products**: Databricks Genie Code, Spark Declarative Pipelines (SDP)
- **Technologies**: Apache Spark, SQL, AI agents, agentic migration tooling
- **People**: Mateusz Wichowski, Anshul Udhani

## Key Concepts

Migration of 230 SQL transformation models to Spark Declarative Pipelines, Human-in-the-loop agentic migration, Parallel validation of old and new pipelines, Data fidelity and zero open discrepancies at cutover, Consolidation of the transformation layer on Databricks, Engineering time savings, Declarative pipeline intent and dependency orchestration, Improved data products for life sciences marketplace customers

## Definitions

- **Spark Declarative Pipelines (SDP)**: A framework for expressing data pipeline intent declaratively. It derives dependencies and orchestrates execution while abstracting operational complexity.
- **Agentic migration tooling**: Tools that use AI agents to plan, convert, and validate data models, with engineers reviewing and approving proposed changes.
- **Human-in-the-loop workflow**: An approach in which automation performs work but people review plans, provide feedback, and retain control over decisions and implementation.
- **Data fidelity**: The degree to which migrated data and pipelines preserve the correctness and behavior of the original production data.

## Use Cases

- Converting SQL transformation models into Spark Declarative Pipelines
- Migrating production data pipelines while preserving their behavior
- Validating pipeline completeness, correctness, freshness, and fidelity
- Running old and new pipelines side by side before cutover
- Maintaining catalog, pricing, availability, and supplier data for a B2B marketplace
- Freeing engineering capacity to improve customer-facing data products

## Frequently Asked Questions

**What did ZAGENO migrate?**

ZAGENO migrated 230 SQL transformation models developed over four years. They were converted to Spark Declarative Pipelines on Databricks.

**How long did the migration take?**

The model conversion took two weeks, followed by two weeks of parallel validation. The full migration was completed in about a month, compared with an estimated three months for manual work.

**How did engineers retain control of the migration?**

The agent proposed a plan, requested approval, incorporated engineer feedback, and simulated changes before implementation. Engineers reviewed the plan and designed the validation process.

**How did ZAGENO validate the migrated pipelines?**

The team checked completeness, correctness, freshness, and fidelity using the Genie Code SDP skill. It also ran the existing and new pipelines side by side for two weeks and reached cutover with zero open discrepancies.

**What business benefits did the migration provide?**

The migration saved hundreds of working hours for data engineers and consolidated ZAGENO's transformation layer on Databricks. The freed capacity can be used to improve marketplace data products and deliver them to customers faster.

## Links

- [Read on Welcome.AI](https://welcome.ai/content/zageno-migrates-230-data-models-to-spark-pipelines-in-two-weeks)
- [Original source](https://www.databricks.com/es/customers/zageno)

---

Source: Welcome.AI | https://welcome.ai/content/zageno-migrates-230-data-models-to-spark-pipelines-in-two-weeks