Skip to content
All news
Learndbt Labs Blog·October 27, 2026·Daniel Poppy

How Ecolab used an AI migration agent to shrink 84,000 lines of legacy SQL by 6x

Summary

Ecolab and Datafold used an AI migration agent to convert roughly 84,000 lines of legacy Snowflake SQL, built up over a decade, into clean, documented dbt models, shrinking the codebase by 6x. The post walks through how the agent untangled that accumulated logic, which is useful context for teams weighing automated approaches to their own large SQL migrations.

Summary generated by brickster.ai. For the full article, follow the source link above.

More from dbt Labs Blog