Skip to main content

Breaking Free: How Evri is Modernizing SAP HANA Workflows to Databricks with AI and Datafold

Summary

  • Scale challenge: Evri faced migrating 1,000 SAP HANA assets and 200+ Talend jobs to Databricks with expensive contracts up for renewal.
  • AI-powered translation: This video demonstrates transforming SAP HANA stored procedures and Talend workflows into Databricks code through AI translation.
  • Zero downtime: Evri maintained 100% uptime of critical dashboards during transition while eliminating months of manual coding.

Breaking Free: How Evri is Modernizing SAP HANA Workflows to Databricks with AI and Datafold

Watch: Breaking Free: How Evri is Modernizing SAP HANA Workflows to Databricks with AI and Datafold
Talk by Gleb Mezhanskiy, CEO, Datafold (Sponsor Speaker)
With expensive contracts up for renewal, Evri faced the challenge of migrating 1,000 SAP HANA assets and 200+ Talend jobs to Databricks. This talk will cover how we transformed SAP HANA and Talend workflows into modern Databricks pipelines through AI-powered translation and validation -- without months of manual coding. We'll cover: - Techniques for handling SAP HANA's proprietary formats - Approaches for refactoring incremental pipelines while ensuring dashboard stability - The technology enabling automated translation of complex business logic - Validation strategies that guarantee migration accuracy e'll share real examples of SAP HANA stored procedures transformed into Databricks code and demonstrate how we maintained 100% uptime of critical dashboards during the transition. Join us to discover how AI is revolutionizing what's possible in enterprise migrations from GUI-based legacy systems to modern, code-first data platforms.
Here's more to explore:
Databricks named a leader in the 2024 Gartner® Magic Quadrant™for Cloud DBMS: https://www.databricks.com/resources/analyst-paper/databricks-named-leader-by-gartner
An open, unified approach to your data, BI and AI workloads: https://www.databricks.com/product/databricks-sql
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

What was Evri's migration challenge?

Evri needed to migrate 1,000 SAP HANA assets and 200+ Talend jobs to avoid expensive contracts while maintaining business continuity.

How does AI enable this massive migration?

AI automatically translates SAP HANA's proprietary formats and Talend workflows into Databricks code, eliminating months of manual engineering effort.

Was there downtime during the migration?

No—the migration maintained 100% uptime of critical dashboards through careful refactoring of incremental pipelines during transition.

How was migration accuracy validated?

Multiple validation strategies compared outputs and behavior between legacy and new systems before full cutover to guarantee migration accuracy.

Full transcript

Thank you for coming to our cozy session about migrations. If you came here at 5:20 on the second day of a very busy conference, I get that you are quite interested in the topic. So today we'll talk about um approaches to migrations, why migrations are hard and I will talk about specifically a customer that we as a technology partner to data bricks help migrate from a combination of legacy technologies that are particularly narrowly to migrate SAP HANA as well as talent.
So. I am co and co-ounder of datafold. We are technology partner that focuses on automating migrations to data bricks as well as the broader modern data stack ecosystem. Before starting dataf fold I was a data engineer and I got a chance to build three data platforms at companies including Autodesk and Lyft. At Lyft specifically, I led a massive migration of a betabatcale data warehouse that was unfortunately a massive failure including for my career for a number of reasons.
Um, one of them was a bad approach to migration because um we chose not to do lift and shift and instead to remodel the data as we go which was the most terrible decision one can ever make for a migration. And the second big problem that we had was the complete lack of tooling and automation to actually run a migration of that scale. And that is exactly what we are here to fix with dataf fold. A few words about every.
So every is a large enterprise in UK that is essentially a delivery service. They use data for a variety of use cases including um real-time analytics of their warehousing operations and um they have I would say a fairly large and complex data model for a typical enterprise. So when we started working with every the state of things was that they bought data bricks which is really a great decision one can make. Um, unfortunately they have not been taken advantage of data bricks pretty much at all because most of their business logic was stuck in legacy systems um, including SAP HANA and Talent and even though they could stream the data into data bricks um, they couldn't really do a lot with their data because all the business logic and all the workloads were stuck in those legacy systems.
On top of that, the problem was that as you know systems like SAP HANA and Talent are extremely expensive and the big goal for every this year is to be able to cancel the um legacy contracts so they can successfully move to data bricks and do the fast um and successful cut over. The scale of the legacy environment I would say is um medium high complexity. There are four NDSO pipelines that are essentially incremental dimension pipelines in SAP HANA.
Over 2,000 views and other objects in HANA including calculated views. So you know a lot of business logic to deal with and over 200 talent jobs. And uh when we started working with every there were in a situation when they were very clear that without automation there is no way that they would be able to complete this migration this year given the current scale and the pace of the migration. So now that we set up the we have we have when standard layout for every let's talk about migrations in um general.
So migrations are really the least fun um of projects that we can run as a data team because they're extremely expensive and extremely tedious. And the expense expensive part of migration comes obviously from the amount of engineer hours it takes to migrate. But there's also tremendous indirect costs because just like every um until you're fully migrated, you're essentially double paying for infrastructure both for the modern stack and the legacy stack. you're likely missing SLAs's because your old system is under a lot of load and you probably can't do much on it.
You're losing a lot of productivity because you can't build all the things and it's really slow to build in legacy systems. And there's also tremendous opportunity costs because if you are stuck in the migration, you're probably losing a lot of your attention and hours and engineer hours on that project instead of shipping really exciting things like data products and uh AI. So there's a really strong incentive to get migration done as fast as possible.
One of the most counterintuitive things that I always discuss with people in the migration or in general is that when you say, "Oh, we're migrating someone from legacy to the modern system, everyone thinks that it's all about moving data." And as you probably know, if you're in a migration, that's the least of the problems. Data is very easy to move these days. Not really a problem. It's all about migrating the code and workloads because if you're moving from legacy to a system like data bricks, migrating code involves not just changing dialects but oftentimes completely rewriting all the legacy paradigms, store procedures and rearchitecting the whole um pipeline and that is an extremely extremely tedious process that historically was done by consultants, professional services and SIS which led to long timelines and high costs.
So obviously there's been a strong need for accelerating migrations and for probably about two or three decades the primary technology that's been used for accelerating migrations has been static compilers or transpilers. So systems like blade brbridge and open source tools like SQL glot that essentially take your uh legacy code decompose it into abstract syntax tree and then recompile in the new system. And those were helpful.
But the challenge is that at most they can help you convert between dialects, but they are not capable of doing any kind of significant refactoring or repackaging into a new orchestrator or changing paradigms and that does not simply meet the needs of the current enterprise migrations. So at most you get some acceleration. The metaphor that I really like to use is using a tool like that, a static compiler, is almost like having a sponge when you're about to wash dishes.
It's more helpful than just washing dishes with bare hands. But ultimately, you still have to go object by object, use the tool, translate the code, and then do all other um parts of the workflow, including QA and bug fixing and refactoring and repackaging. Ultimately, it's still a very manual and tedious process. And the way to scale that historically been hiring more people, usually consultants or professional services that would operate these type of transpilers so that the process runs faster, but it's still extremely manual.
So now obviously it's 2025 and this conference is all about AI. So one thinks well let's just have LLMs do all the work and obviously that's the promise but not so fast. There are multiple challenges in using LLMs. Um LM are really great and really um awesome in solving the key limitations of the legacy technology. One is they offer unparallel flexibility. Unlike static transpilers that are extremely complex to develop and they rely on grammarss, LMS can understand any code, right?
They can write any code, they can read any code and that's really easy to get going on uh any kind of code translation. They have reasoning capabilities so they can actually think like what kind of pattern is better and um they provide a more effective layer of abstraction. Right? If you're dealing with a static transpiler, you can't improve anything unless you actually improve the grammar, which is extremely complex, and the parser versus with LM, you can just chat with an agent and say like, hey, I actually want this store procedure to be migrated into data bricks like um DT pipeline.
However, a really big challenges with using just plain LLMs. And one of the challenges is that LLM is a technology. It's not a solution. Just like you know having a virtualized instance on AWS doesn't necessarily mean that you now have a working microser um just plugging in the code into LLM doesn't solve the migration challenge for you. One of the problems is hallucinations. So LLMs are really good at generating code but no one guarantees that they generate correct code and having incorrect code as a result of migration has absolutely zero value.
And LLMs also have limited context window. You know, you can't just like stuff in a million line of codebase from legacy and translate everything. So, it's helpful, but it's not the solution that we need. One of the biggest problems for migrations is validation. None of the business stakeholders or business users would ever say, "We're done. Yes, cool. We're going to use data bricks." Unless you prove that every single legacy asset like a data set or a view or a BI report that was built in legacy system is completely reproduced on the new system and you show them a proof that both things are identical, right?
Because otherwise business just does not trust the data and they don't really care whether you use data bricks or SAP HANA if their numbers don't match, right? That's a really really bad position to be in. And when we worked with our customers, we asked them where are you spending most time during a migration? And the overwhelming number of people said that the most tedious part in your migration is actually the process of validating the outputs on a new system against the old system and reconciling the differences.
And that is not something that LLM can actually help you with because that still becomes a manual part of the process. So we at datafold are an experts in data validation. Even before LMS were out there um we've been developing very very extensive testing capabilities and we are known for a tool called data diff. Essentially data diff allows you to compare data sets between any kind of database at scale um at value level precision.
So you can run trillion record comparisons between snowflake or data bricks or SQL server or data bricks or even files or even NoSQL databases against um any kind of OLAP system and that is really the fundamental part in the immigration process because that allows you to do the validation after the migration is done. Now back to the metaphor about tooling for migration, right? We talked about how having code transpiler helps you with conversion, but without the validation, it doesn't really solve the problem.
You're still stuck with a manual process. Well, if we take AI and we couple that with the data diff for validation, we can essentially get to a dishwasher that instead of having better tools to wash dishes, just produces clean dishes for you. So it is something that enables the outcome. The way this works is um we have a very straightforward conceptually agent that takes the legacy code builds a graph of that legacy code so it understands how all the objects interact how all the dependencies in that work.
It then builds a testing environment so it can validate the legacy versus the new world and then it does the translation and refactoring. So basically going over every store procedure or sometimes multiple store procedures converting them into whatever should be the um code on the new side whether it's data bricks workflows or delta live tables or data bricks and dbt and then it does a very simple thing. It compares the output of the code in the new system with the old um legacy output and if there are any discrepancies it then takes the those errors and feeds them back into itself for correction and reconciliation.
So essentially what it does is exactly what a data engineer would do during a migration. But the huge advantage here is that it is an automated system. So it can do that at scale which is where the acceleration is coming from. Another really cool um effect of using an AI driven migration is that it's not just about translating code and making it run. We can also improve the code in the process. So one of the big problems with legacy systems and in the migrations is that the patterns that are used historically in legacy systems like store procedures that are linked together and they call each other and they do incremental updates and tables are really dangerous if you replicate them into a system like data bricks because you essentially end up with a completely unmaintainable code that is really hard to develop that is most likely going to be slow and expensive to run on a system like data bricks.
So ideally you are refactoring those patterns into something that is really following the best practices on a modern system. So as an example what we've done for every is um a complete refactoring of the SAP SAP HANA and DSO pipelines that took about 6,000 lines of SQL each into a data brick structure streaming pipeline. What this allowed us to do is one uh make the code way more maintainable. So we ended up with three times less fewer lines of code which already is a big achievement because that means fewer moving parts, fewer things that can fail.
Two, uh because of data bricks structure streaming abilities, you don't have to maintain watermarks and complex checkpoints as you would with store procedures. Everything is just working out of the box. It's scalable. So in the old world in SAP HANA and for procedures the customer had to run their sprock pipelines multiple times manually to just backfill the table because SAP HANA wasn't able to handle the entire job um in one go.
But with structure streaming there's no such problem because everything is processed continuously. So if we need to process 10 billion events that can be done automatically with automatic handling of um scalability. And finally the real code thing which wasn't really a requirement here but it just comes out of the box with data bricks is you can get this pipeline to compute in near real time if you want which is was completely unattainable on the old system.
So again um the AI first migration approach allows us not only to replicate the functionality of the old system but to improve it and make it run as effective as possible on a modern data platform. So what does it mean for every? So this project is still ongoing but we already delivered multiple phases and they are on track to move completely from legacy platforms SAP HANA and talent over to data bricks. And another advantage of using AI that every taken advantage uh advantage of is the ability to package the code exactly how the customer needs it.
So for example, some customers we work with they like DBT for orchestration but every prefers to use data bricks native functionality for all their code. So we can package the code exactly as the customer needs in this case it was data bricks asset bundles and from the customer's perspective what they give us as the code what they get is code that's completely packaged ready to run and proven to produce identical results.
That's really what you want for a migration. That's it. That's the every success story. And uh if you have any questions, I'm happy to chat. And we also have a booth right there, number 313. So come by for cool swag and uh a deep conversation about migrations. Thanks for coming.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.