The solution
Smart Data built an AI-assisted migration tool using Claude and structured prompts. The tool converts legacy ETL logic, orchestration scripts and deployment configurations into Databricks pipelines built on PySpark, generating unit tests and infrastructure as code alongside every converted pipeline.
Key implementation highlights
- AI-assisted conversion of legacy ETL logic and orchestration scripts into PySpark pipelines on Databricks
- Unit tests generated with every conversion, so each one arrives with the tests that check it
- Infrastructure as code through Terraform and GitHub Actions, generated alongside the pipelines
- A first phase scoped across 31 workflows, 36 mappings, 60 orchestration jobs and 50 shell scripts
- Scope drawn from real production domains rather than a curated sample, to test the approach against the variety of a true enterprise codebase
- Senior engineering effort redirected from writing translations by hand to validating output against known behavior
Without generated tests and deployment automation, AI conversion produces code a team still has to read line by line, and with them the platform team can review, run and verify the output.
The results
The first phase tested whether the approach would hold across the rest of the estate:
First phase delivered by a small team
Converted pipelines shipped with generated unit tests and infrastructure as code, so the client’s platform team could verify the output rather than take it on faith
This first phase is also where Smart Data’s Databricks partnership was earned. It showed that automated conversion, with tests generated alongside it, can move a legacy ETL estate onto Databricks pipelines on a timeline that keeps the business case intact.







