Urgent.News

What's breaking now, across hundreds of outlets.

AI

AI Makes Migrations Faster. It Doesn't Make Them Easy.

By Penko Vasilev, Principal Databricks Architect at Cosmos Thrace. Reviewed by Ivan Angelinin, Technical Director. “AI changes how fast we write the code. It doesn't change what makes a migration succeed or fail.” TL;DR AI changes how fast we write the code. It doesn't change what makes a migration succeed or fail. First decide whether it is a lift and shift or a lift and modernize. “We rewrote…

Artificial Intelligence (AI) has revolutionized the speed at which we write code for migrations, but it doesn't necessarily make the process any easier. According to Penko Vasilev, a Principal Databricks Architect, AI aids in the rapid coding of migrations, but the key to success still lies in understanding the underlying business logic.

First, it is crucial to determine whether a migration is a "lift and shift" or a "lift and modernize." A lift and shift involves moving the existing logic to a new platform with minimal changes, while a lift and modernize entails moving and improving the system simultaneously. The latter is generally more valuable but harder to verify.

The real challenge in migrations lies in the business meaning rather than technology. AI can translate the code but cannot explain why it functions in a certain way or whether it should continue to do so. This understanding comes from the business owners, and gathering this knowledge takes time and cannot be expedited by any tool.

To validate the migration, row counts, totals, and record-by-record differences should be automatically checked. Skipping this step might lead to AI helping you reach the wrong result sooner.

Despite the promising advancements in AI, it is essential to remember that the technology itself is not the primary obstacle. Rather, it is the "business meaning" that slows down the migration process. Decades of accumulated rules, workarounds, and assumptions are often embedded within a system, and these need to be identified and addressed before any code can be written.

To accelerate the migration process, reusable frameworks are invaluable. Two such frameworks are ingestion and validation. Ingestion involves bringing data from the source to the new platform in a standardized manner, while validation ensures that the new system produces the expected results, with differences documented and approved by business owners. Databricks offers various tools, such as Lakeflow Connect for ingestion and Lakebridge for assessment, code conversion, and reconciliation, which can save significant time.

In summary, AI has undoubtedly accelerated the coding phase of migrations, but understanding the business logic, validating the results, and ensuring the system behaves as expected are still critical and challenging aspects of the migration process.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

You Can’t Innovate with AI Agents Until You Know You Can Recover

Cyber resilience is a prerequisite for agentic AI, here are two important announcements that help deliver it. When it comes to AI-related incidents, it's becoming less a question of if something will…

  • Commvault's AgentRecover focuses on recovering from rogue AI agents
  • New approach presented in Commvault Recovery Studio
  • Recovery Studio goes beyond data restoration

More from Tuesday 24 November →