<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kalyana Murugan M on Medium]]></title>
        <description><![CDATA[Stories by Kalyana Murugan M on Medium]]></description>
        <link>https://medium.com/@mvkally?source=rss-8d5c8db66da0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c-p5b-rOqUiuMXFsfMS05Q.jpeg</url>
            <title>Stories by Kalyana Murugan M on Medium</title>
            <link>https://medium.com/@mvkally?source=rss-8d5c8db66da0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 23:13:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mvkally/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploying and Governing AI — Part 3]]></title>
            <link>https://medium.com/@mvkally/deploying-and-governing-ai-part-3-924bdd76f006?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/924bdd76f006</guid>
            <category><![CDATA[ai-governance]]></category>
            <category><![CDATA[aigovernanceframework]]></category>
            <category><![CDATA[ai-deployment]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Mon, 16 Nov 2026 12:31:01 GMT</pubDate>
            <atom:updated>2026-11-16T15:54:23.431Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Govern for trust: seven pillars, clear ownership and practical implementation</em></p><p>This final part explains how to govern AI consistently across the organization, while adjusting the depth of controls to match each application’s deployment tier.</p><h4>From deployment decisions to lasting governance</h4><p>Once an organisation understands its AI applications and assigns each one a deployment tier, it needs a consistent way to manage them throughout their life cycle. Part 3 brings the model together through seven governance pillars, clear decision rights and a practical rollout plan.</p><p><strong>Apply one governance model with seven pillars</strong></p><p>The governance model is designed to stay consistent as an organisation grows. It uses seven pillars for every AI application. What changes is the depth of control required at each deployment tier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kt6ikFni92cxW7_H7IZlMw.png" /><figcaption>Governance pillars</figcaption></figure><p><strong>The seven pillars in plain language</strong></p><p><strong>Accountability and inventory</strong>. Every AI application needs a named owner, a clear purpose, a category, an origin tag and a deployment tier. It must be recorded before deployment.</p><p><strong>Data governance</strong>. Document what data the application reads, writes and sends to models. Apply the right rules for classification, residency, retention and consent.</p><p><strong>Security and access</strong>. Use appropriate identity controls, least privilege, secrets management and supply-chain checks. For agents, include tool and MCP permissions.</p><p><strong>Model and prompt management</strong>. Use approved models and endpoints, version prompts, and route model access through a controlled gateway.</p><p><strong>Quality and evaluation</strong>. Review and test software as software. For runtime AI, add task-based evaluations, adversarial testing and human review where the consequences justify it.</p><p><strong>Observability and audit</strong>. Keep logs, traces and cost information so the organization can understand what happened, investigate incidents and identify who approved an action.</p><p><strong>Lifecycle and change</strong>. Define how applications are assessed, approved, released, monitored, reviewed and retired. Changes to a model, prompt, tool or data source should be treated as meaningful changes.</p><p>The model groups the tiers into three control levels. Tiers 1 and 2 use Baseline controls. Tier 3 uses Standard controls. Tiers 4 and 5 use Strict controls. For example, a baseline application needs an owner and a register entry; a standard application adds a sponsor, support path and central controls; a strict application adds formal risk sign-off and an approval board.</p><p>Two principles keep the model effective. First, promotion between tiers must be explicit: if an application’s audience, data sensitivity or autonomy increases, it must meet the new tier’s controls before moving up. Second, category-specific controls still apply. An agent in Category 4 needs autonomy, tool and MCP safeguards in addition to the controls required by its tier.</p><p><strong>Connect the model to recognized standards</strong></p><p>A practical internal model should complement established frameworks rather than compete with them. The source article maps its seven pillars to the NIST AI Risk Management Framework, ISO/IEC 42001 and the Databricks AI Governance Framework.</p><p>NIST AI RMF organizes risk management around Govern, Map, Measure and Manage. The inventory and risk assessment help with mapping; the governance pillars support measurement and management.</p><p>ISO/IEC 42001 provides an AI management-system structure that organizations can use for systematic governance and audit. The seven pillars provide operational practices that can sit within that broader management system.</p><p>The Databricks AI Governance Framework provides another enterprise reference point. The source model recommends making AI impact assessment explicit from Tier 3 upward, including who may be affected, fairness, privacy, human intervention and transparency.</p><p>The EU AI Act adds legal obligations based on the system and its intended use. The source article treats high-risk use cases as requiring at least Tier 4 controls and highlights transparency requirements for customer-facing chatbots. Regulatory dates can change, so verify current requirements with official EU sources before relying on them.</p><p>One useful distinction in this model is not always made explicit in broader risk frameworks: AI used to write a tool is not the same as AI operating inside that tool. A script generated with AI still needs code review and software security. An agent that reasons and acts needs runtime evaluation, permission boundaries and monitoring. That difference is why classification comes first.</p><p><strong>Decide who is responsible</strong></p><p>Clear decision rights prevent governance from becoming everyone’s responsibility and therefore nobody’s responsibility. The application owner should register the application and propose its category. The owner’s manager can approve Tiers 1 and 2. Tier 3 should be approved jointly by security and data owners. Tiers 4 and 5 should go to a governance board representing risk, legal, security and the business.</p><p>The platform or security team should control which models, development harnesses and MCP servers are approved. The application owner is responsible for retirement, with governance-board involvement for Tiers 4 and 5.</p><p><strong>Roll it out in manageable steps</strong></p><p>The model can be introduced without trying to solve everything at once. A practical rollout can follow five steps:</p><p>Create a central AI register and a short risk-scoring process. Ask teams to include official tools, unofficial utilities, citizen-built agents and vendor features that may have been enabled by default.</p><p>Assign categories and tiers. Address the largest gaps in Tiers 4 and 5 first, where the potential impact is greatest.</p><p>Establish shared capabilities: a model gateway, an approved MCP registry, an evaluation approach and central logging.</p><p>Turn governance requirements into reusable templates and automated pipeline checks. Make the secure and approved path the easiest path.</p><p>Review the register quarterly. Retire applications without owners and adjust tiers when usage, data or autonomy changes.</p><p><strong>A checklist before an AI application goes live</strong></p><p>☐ An owner, category, origin tag and tier are recorded in the AI register.</p><p>☐ The risk assessment covers audience, data sensitivity, autonomy and impact.</p><p>☐ The data the application reads, writes and sends to models is declared and classified.</p><p>☐ AI-generated code has been reviewed, scanned and linked to its development history.</p><p>☐ Model access uses the approved gateway; credentials are not embedded in code.</p><p>☐ Tools and MCP servers are approved, scoped to least privilege and logged.</p><p>☐ Evaluation evidence exists for the application’s tier and is repeated after changes.</p><p>☐ Logs and traces are retained long enough to investigate incidents.</p><p>☐ Rollback, kill-switch and retirement plans are documented.</p><h4><strong>Conclusion: one model, three practical decisions</strong></h4><p>Enterprise AI governance does not need to become a collection of disconnected policies. Start by identifying what kind of AI application you have. Use its audience, data sensitivity and autonomy to decide the deployment tier. Then apply the same seven governance pillars, increasing the depth of control as risk rises.</p><p>In short: six categories (<a href="https://medium.com/@mvkally/deploying-and-governing-ai-a-practical-model-for-every-organization-7204b20cfb7e">part 1</a>) help you understand what you have; five tiers (<a href="https://medium.com/@mvkally/deploying-and-governing-ai-part-2-db51d0fb6396">part 2</a>) help you decide how to deploy it; and seven pillars help you govern it consistently. The model can be adapted to different industries and organization sizes, but the core principle remains the same: controls should grow with exposure, sensitivity and autonomy.</p><h4><strong>References and </strong>Sources:</h4><p><em>Checked on 14 Nov 2026.</em></p><p>• <a href="https://www.nist.gov/node/1676956">NIST AI Risk Management Framework</a></p><p>• <a href="https://doi.org/10.6028/NIST.AI.600-1">NIST AI 600–1, Generative AI Profile</a></p><p>• <a href="https://www.tuv-nord.com/uk/en/iso-42001-requirements-explained/">ISO 42001 requirements explained, TÜV UK</a></p><p>• <a href="https://www.databricks.com/blog/introducing-databricks-ai-governance-framework">Databricks AI Governance Framework</a></p><p>• <a href="https://casrai.org/dictionary/term/eu-ai-act">EU AI Act: risk tiers and timeline, CASRAI</a></p><p>• <a href="https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications/">OWASP Top 10 for Agentic Applications 2026</a></p><p>• <a href="https://modelcontextprotocol.io/docs/tutorials/security/security_best_practices.md">MCP security best practices</a></p><p>• <a href="https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ai/strategy">Microsoft Cloud Adoption Framework: AI adoption</a></p><p>• <a href="https://if4it.org/best-practices/enterprise-ai-governance-best-practices/govern-the-inventory-of-ai-use-cases/">IF4IT: Govern the Inventory of AI Use Cases</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=924bdd76f006" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying and Governing AI — Part 2]]></title>
            <link>https://medium.com/@mvkally/deploying-and-governing-ai-part-2-db51d0fb6396?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/db51d0fb6396</guid>
            <category><![CDATA[ai-governance]]></category>
            <category><![CDATA[ai-deployment]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Mon, 16 Nov 2026 08:19:04 GMT</pubDate>
            <atom:updated>2026-11-16T15:50:25.523Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Deploy with confidence: a practical five-tier deployment mode</em></p><p>This second part explains how to choose the right deployment approach for each AI application.</p><p>It expands the five tiers and shows how audience, data sensitivity, autonomy and impact shape the decision.</p><h4>Deploying AI responsibly: choosing the right level of control</h4><p>Part 1 established what kind of AI application an organization has. The next question is where and how that application should run. A single deployment ladder can be used across all six categories. The tier is based on the application’s audience, the sensitivity of its data and the amount of autonomy it has.</p><h4><strong>Understanding the five deployment tiers</strong></h4><p>The five tiers are not five different products or technologies. They are five levels of exposure and operational responsibility. An application moves up the ladder when more people can use it, when it handles more sensitive<br>information, or when it can take actions with greater consequences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TnnNRKOdopBlpOIvNAz7VQ.png" /><figcaption>Deployment tiers</figcaption></figure><p><strong>Tier 1 — Personal sandbox</strong></p><p>This is for one person experimenting with non-sensitive information. The application runs locally and is not distributed. Keep it separate from production data and business workflows. Even at this level, record who owns it and avoid embedding credentials or using unapproved services.</p><p><strong>Tier 2 — Team shared</strong></p><p>This tier is for a small team using an application with internal, non-sensitive information. The application should have a named support owner, a versioned release and a controlled internal distribution route,<br>such as an internal repository or private marketplace. The team should know where to report issues and how updates are approved.</p><p><strong>Tier 3 — Organization internal</strong></p><p>This tier applies when an application is available across the organization or uses broader internal data. It should run on a managed platform, use corporate identity and single sign-on, and produce central logs. Model access should normally pass through an approved gateway so the organization can control credentials, routing, quotas and usage.</p><p><strong>Tier 4 — Business-critical</strong></p><p>Use this tier when an application handles sensitive or regulated information, supports important business processes, or can take actions on business systems. Separate development, test and production environments; introduce formal approval gates; use private networking where appropriate; require human approval for sensitive actions; and retain a complete audit trail.</p><p><strong>Tier 5 — External-facing</strong></p><p>This tier covers applications used by customers, partners or the public. They need to be hardened for untrusted traffic, with protections such as a web application firewall, rate limits, service targets, incident response procedures and continuous evaluation. The organization must be prepared to support the service and respond when the AI behaves unexpectedly.</p><h4>Why the same AI product can belong to different tiers</h4><p>The product name alone does not determine the tier. A copilot used by one employee for non-sensitive work may be Tier 1. The same copilot connected to regulated information or a critical workflow may need Tier 4 controls. A read-only internal assistant may fit Tier 3, while an agent that can update business systems generally needs Tier 4. A customer-facing agent may need Tier 5 protections. The deployment decision follows actual exposure, data and autonomy — not the brand or technology label.</p><h4>Four questions make the tier decision repeatable</h4><p>Assess each application against four factors: audience, data sensitivity, autonomy and the impact of a wrong result. Score each factor from 1 (low) to 3 (high). Use the highest score as the main driver, then apply the<br>organization&#39;s documented tier-mapping rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TN5b2n9dSYl9MlxcK_1FUA.png" /><figcaption>Risk matrix</figcaption></figure><p><strong>Audience:</strong> Is the application for one person or one team, the whole organization, or customers and the public?</p><p><strong>Data sensitivity:</strong> Does it use public information, internal business data, or personal, financial, health or regulated information?</p><p><strong>Autonomy:</strong> Does it only make suggestions, act after human approval, or take actions on its own?</p><p><strong>Impact:</strong> Would a wrong result cause inconvenience, rework and cost, or legal, financial or safety harm?</p><p>Use the source model’s mapping as a starting point: all-low scores for a single user can be Tier 1; a team audience can be Tier 2; a medium score can move an application to Tier 3; a high score for data, autonomy or impact can move it to Tier 4; and a high audience score combined with another high factor can move it to Tier 5. Each organization should tune and document these rules for its own risk appetite.</p><h4>Practical deployment principle</h4><p>Do not treat the initial tier as permanent. Reassess it when the audience expands, the application gains access to new data, a new tool is connected, or the system becomes more autonomous. If the risk rises, the application must meet the higher tier’s controls before it is promoted. This makes the five-tier model a living deployment decision rather than a one-time approval.</p><h4>A deployment view for each tier</h4><p>The tier should influence the way an application is built, released and operated — not just the approval form. At Tier 1, keep the environment personal and isolated. At Tier 2, introduce shared ownership, version control and a known distribution channel. At Tier 3, move to managed hosting, corporate identity, central monitoring and approved model access. At Tier 4, add stronger separation, formal change approval, private connectivity where needed and evidence that sensitive actions are controlled. At Tier 5, operate the application as an externally exposed service, with service objectives, abuse protection and an incident response process.</p><h4>How to apply the model to different AI categories</h4><p>A standalone script created with an AI coding assistant may remain at Tier 1 or 2 if it is used locally or by a small team and handles no sensitive information. If the same script is scheduled against production systems, its impact and access may push it to Tier 4. A hybrid extension used by a development team may be Tier 2, but broad enterprise rollout and model connectivity can move it to Tier 3. A web application used across the company is commonly Tier 3; if it serves customers or partners, assess it for Tier 5. A read-only agent that searches approved internal content may be Tier 3, while an agent that can update records, approve transactions or trigger workflows may need Tier 4. A vendor copilot is not automatically low risk: its tier depends on the data and systems it can reach.</p><h4>Deployment controls should be proportionate</h4><p>The purpose of the ladder is not to make every application go through the heaviest process. A personal experiment should not need the same approval board as a customer-facing agent. Equally, a prototype should not quietly become a production service without a new assessment. Use the tier to select a proportionate set of controls, then make the approved path easy for teams to follow through templates, standard hosting patterns and reusable platform services.</p><h4>A practical tier review before release</h4><p>Before approving a deployment, ask the application owner to explain who can access it, which data sources it can read or change, whether the model is called at run time, which tools or external services it can invoke, and what happens if it gives a wrong answer. Confirm the support owner, logging, rollback approach and the process for disabling the application. For agents, inspect tool permissions and require human approval for actions that could have material consequences. For external-facing applications, confirm how abuse, service disruption and user complaints will be handled.</p><h4>Revisit the tier when the application changes</h4><p>A tier assessment can become outdated even when the application name stays the same. Reassess when a new user group is added, data classification changes, a model or prompt is replaced, an MCP server or connector is introduced, an agent receives new write permissions, or the application moves from an internal pilot to a customer service. Keep the reason for each tier decision in the AI register so that future reviewers can understand the decision and the assumptions behind it.</p><h4>Where Part 2 takes us next</h4><p>Choosing the right deployment tier sets the level of control an application needs. In <a href="https://medium.com/@mvkally/deploying-and-governing-ai-part-3-924bdd76f006">Part 3</a>, we will apply seven governance pillars consistently across every tier, increasing the depth of each control as risk rises.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db51d0fb6396" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying and Governing AI: A Practical Model for Every Organization]]></title>
            <link>https://medium.com/@mvkally/deploying-and-governing-ai-a-practical-model-for-every-organization-7204b20cfb7e?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7204b20cfb7e</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-deployment]]></category>
            <category><![CDATA[ai-governance]]></category>
            <category><![CDATA[ai-categorization]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 00:31:01 GMT</pubDate>
            <atom:updated>2026-11-16T08:21:07.542Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A simple way to understand AI landscape, deploy applications responsibly and apply the right level of governance.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LV56k8R2YFjP8kxDvyJbOg.png" /><figcaption>AI governance model overview</figcaption></figure><h3>A Three-part series on deploying and governing AI</h3><p>AI is becoming part of almost every organisation, from coding assistants and business applications to intelligent agents and enterprise platforms. But adopting AI is only one part of the journey. Organisations also need a practical way to understand where AI is being used, deploy it responsibly, and ensure that the right security and governance controls are in place.</p><p>In this three-part blog series, I will present a practical model that organisations can use to manage their AI landscape. The series is structured around three key questions:</p><blockquote><strong>What AI applications do we have?</strong></blockquote><blockquote><strong>How should we deploy them?</strong></blockquote><blockquote><strong>And how do we govern them effectively?</strong></blockquote><p>Each part builds on the previous one, bringing together six AI application categories, a five-tier deployment model, and seven governance pillars into one consistent approach.</p><p><strong>How the series is structured</strong></p><p><strong>Part 1:</strong> Understand the six categories of AI applications.</p><p><strong>Part 2: </strong>Choose the right deployment tier using five levels and a practical risk assessment.</p><p><strong>Part 3:</strong> Apply seven governance pillars, assign responsibilities and put the model into practice.</p><p><strong>1. Start by understanding what kind of AI you have</strong></p><p>Before deciding how to secure an AI application, first understand what it actually does. Three questions help bring clarity:</p><blockquote>Who supplied or built it? Was it created by engineers, assembled by a business user, or provided by a software vendor?</blockquote><blockquote>When does AI operate? Was AI only used to help write the software, or does the application call a model whenever someone uses it?</blockquote><blockquote>Where does it run? Is it on an individual laptop, shared within a team, hosted in the organisation’s cloud, or embedded in a vendor’s product?</blockquote><p>These questions lead to six categories. The distinction matters because reviewing ordinary code is different from controlling a live model that can interpret data, call tools or take actions.</p><p><strong>The six categories</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lkWRoaHKlsbEkEaABOAjqQ.png" /><figcaption>AI categories</figcaption></figure><p><strong>Category 1: Standalone tools built with AI</strong></p><p>This is the simplest scenario. An employee may use an AI coding assistant to create a data-cleaning script, report generator or migration utility. Once the tool is created, it behaves like conventional software: it takes an input and produces an output without calling an AI model at run time.</p><p>The main concern is whether the generated code is safe, maintainable and properly owned. Treat it like any other software contribution. Record which tool helped create it, have a human review the code, run static and dependency scans, check licenses and assign an owner. These tools usually fit Tier 1 or Tier 2 (Tiers are explained in Part 2 of this series).</p><p><strong>Category 2: Hybrid extensions</strong></p><p>A hybrid extension combines predictable software behaviour with selected AI capabilities. For example, a development-tool extension may parse files or generate a project structure on its own, but call a model when it needs help with a more complex task.</p><p>This can be useful in controlled environments because the non-AI features can continue to work even when the model is unavailable or not approved. The organization should clearly document what happens with AI switched off and on, identify exactly what information leaves the user’s device, route model calls through approved endpoints, and limit the extension’s permissions. AI-generated changes should normally be presented as suggestions for the user to accept. A team deployment may fit Tier 2; wider organizational use may require Tier 3.</p><p><strong>Category 3: AI-built web and cloud applications</strong></p><p>Here, AI tools may have helped build a portal, dashboard or API that is hosted and accessed over a network. The application may or may not call a model at run time. What changes is the exposure: multiple users can reach it, so identity, availability and application security become central concerns.</p><p>A quick prototype can become a production service surprisingly fast. Before that happens, use a proper development and release pipeline, separate development, test and production environments, corporate authentication, secure secret storage, central logging and monitoring. Classify the data the application stores and define its retention period. Treat AI-written code with the same threat modelling, testing and review standards as any other code. Internal applications often fit Tier 3; regulated or customer-facing applications may need Tier 4 or Tier 5.</p><p><strong>Category 4: Agentic AI and MCP</strong></p><p>Agentic AI is different because the model is part of the application while it is running. An agent receives a goal, reasons about the next step, calls a tool, reads the result and decides what to do next. Frameworks such as LangChain and LangGraph can be used to build these workflows. The Model Context Protocol (MCP) provides a standard way for agents to connect to tools and data sources.</p><p>This flexibility introduces additional risk. An agent may behave differently across similar requests, and an incorrect decision can have real side effects. It may also encounter prompt injection: malicious or misleading instructions hidden in documents, web pages or other content it reads.</p><p>A production deployment therefore needs several coordinated building blocks: an agent runtime to orchestrate and retain state; a central model gateway for credentials, routing, quotas and logging; separately managed tools and MCP servers with narrow permissions; a knowledge layer that respects the user’s access rights; and a control plane for prompt versions, evaluations, traces, cost limits and human approvals.</p><p>Start with low autonomy. Prefer read-only tools, and require approval before an agent writes, sends, pays or deletes. Register every MCP server with an owner, version and permission scope. Treat retrieved content as untrusted data, evaluate the agent with realistic and adversarial tests, record each important step, limit execution time and cost, and maintain a kill switch.</p><p>MCP security review should cover both sides of the connection. Server-side checks include strong authorization, audience-bound tokens, narrow scopes and appropriate consent. Client-side checks include secure authorization URLs, protections against unsafe network destinations, explicit approval for local servers and sandboxing. The source article points to the MCP security guidance and the OWASP agentic and MCP risk lists as useful references. Read-only assistants may fit Tier 3; agents that change business systems generally need Tier 4; customer-facing agents may need Tier 5.</p><p><strong>Category 5: Bought or embedded AI</strong></p><p>Not every AI capability is built in-house. Organizations increasingly consume AI through enterprise copilots, SaaS features, vendor assistants and model APIs. The software may already be part of an approved product, and an AI capability may even be enabled through a vendor update.</p><p>The fact that a vendor built the AI does not remove the organization&#39;s responsibility for its data and use. Maintain an inventory of products and AI features, review vendor terms and data handling, understand retention and model-training practices, check which company information the feature can access, and establish an approved configuration baseline. Also know how to disable the feature or leave the service if the vendor changes its terms or technology.</p><p>A sanctioned enterprise option can reduce the temptation for employees to use unapproved public tools. Productivity assistants may fit Tiers 1 to 3 depending on their use; connections to regulated data or business systems can raise the requirement to Tier 4. The source model does not approve public consumer tools without an enterprise agreement.</p><p><strong>Category 6: Model assets</strong></p><p>Sometimes the model itself is the asset being delivered. Examples include a prediction model trained on company data, a fine-tuned language model, an embedding model or an open model hosted by the organisation.</p><p>The main risk is not simply a code defect. Model behaviour depends on training data and can change as real-world data changes. Data quality, drift, provenance and reproducibility therefore become important.</p><p>Maintain a model registry with an owner, version, intended use, known limitations and training and evaluation data. Approve specific use cases rather than assuming a model is suitable for every purpose. Evaluate accuracy and robustness before release, add fairness and explainability checks where decisions affect people, monitor drift, and preserve the code, data snapshot and environment needed to reproduce a release. Internal scoring may fit Tier 3; models that affect people or serve customers may require Tier 4 or Tier 5.</p><p><strong>Record who built it</strong></p><p>In addition to its category and tier, every AI entry should carry an origin tag: engineer-built, citizen-built or vendor-supplied. This is particularly important for low-code agents created by business users. Connecting the AI inventory to approved development platforms can help discover these applications automatically, rather than relying only on periodic surveys.</p><p><strong>Where Part 1 takes us next</strong></p><p>Knowing which category an AI application belongs to is the first step, but category alone does not tell us where or how it should run. In <a href="https://medium.com/@mvkally/deploying-and-governing-ai-part-2-db51d0fb6396">Part 2</a>, we will use the application’s audience, data sensitivity, autonomy and potential impact to select the right deployment tier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7204b20cfb7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Legacy ETL to Intelligent Modernization: Building an AI-Assisted Code Conversion Suite for…]]></title>
            <link>https://medium.com/@mvkally/from-legacy-etl-to-intelligent-modernization-building-an-ai-assisted-code-conversion-suite-for-51b94eb15765?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/51b94eb15765</guid>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 07:14:11 GMT</pubDate>
            <atom:updated>2026-07-17T07:14:11.236Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Legacy ETL to Intelligent Modernization: Building an AI-Assisted Code Conversion Suite for Databricks</h3><p>From Months of Manual Migration to Minutes of Intelligent Transformation</p><p><strong>Introduction</strong></p><p>The enterprise data landscape is undergoing one of its biggest transformations in recent years. Organizations are rapidly modernizing their legacy data platforms by moving workloads from traditional ETL tools and proprietary SQL platforms to cloud-native analytics platforms such as Databricks.</p><p>Recently, I had the opportunity to contribute as an AI Enabler for a large-scale enterprise modernization program. The primary objective was not just to migrate workloads, but to accelerate the entire software development lifecycle (SDLC) by building AI-powered tools and intelligent agents that could significantly reduce manual engineering effort across different phases of the project.</p><p>One of the key realizations during this engagement was that successful modernization is no longer just about moving code from one platform to another. The real value lies in identifying repetitive engineering activities and augmenting them with AI-driven automation, allowing engineering teams to focus on design, validation, and business outcomes rather than manual translation.</p><p>In an earlier blog, I shared my experience of developing an AI-assisted Conformed Data Model (CDM) Generator, where Sentence Transformers and semantic similarity techniques were leveraged to automate <strong>data model generation</strong>. A process that traditionally required weeks or even months of effort from data modelers could be completed within a matter of hours, while still preserving consistency and engineering oversight.</p><p>As the modernization program progressed, the next major challenge emerged — the <strong>data transformation layer</strong>.</p><p>Enterprise migration projects often involve thousands of legacy assets, including T-SQL stored procedures, Informatica mappings, Alteryx workflows, SAS programs, and Azure Synapse SQL scripts. Converting these assets manually into PySpark or Spark SQL for Databricks is typically one of the most time-consuming phases of any migration initiative.</p><p>To address this challenge, I started building a collection of AI-assisted agents and engineering utilities focused on automating data transformation. What initially began as a lightweight conversion application gradually evolved into a reusable, modular product integrated directly into GitHub Copilot as an extension. By combining deterministic engineering techniques with AI-assisted review, the solution significantly accelerates modernization while maintaining transparency and developer control.</p><p>In this blog, I would like to share the architectural approach, engineering decisions, and technologies behind this AI-Assisted Code Conversion Suite, along with the lessons learned while transforming a practical engineering utility into a scalable modernization product.</p><p><strong>Traditional Migration Challenges</strong></p><p>Before intelligent automation became practical, migration projects followed a predictable lifecycle.</p><p>A developer would first analyze the legacy source code, understand the business logic, manually rewrite the implementation in another language, execute multiple validation cycles, perform testing, and finally deploy the migrated solution.</p><p>This process was repeated thousands of times across an enterprise.</p><p>Some of the most common challenges included:</p><ul><li>Thousands of SQL procedures requiring manual conversion.</li><li>Complex Informatica mappings with deeply nested transformations.</li><li>Graph-based Alteryx workflows requiring manual reconstruction.</li><li>SAS programs containing DATA steps, PROC SQL, and macro logic.</li><li>SQL dialect incompatibilities between source systems and Spark SQL.</li><li>Long testing cycles to ensure functional equivalence.</li><li>Heavy dependence on highly experienced migration specialists.</li><li>Migration timelines extending over several months.</li></ul><p>As organizations modernize hundreds of applications simultaneously, this traditional approach no longer scales.</p><p><strong>Reimagining Modernization with AI</strong></p><p>The objective behind this solution was straightforward:</p><p><strong>Enable developers to modernize legacy code with minimal manual effort while preserving engineering accuracy and developer control.</strong></p><p>Rather than asking a Large Language Model (LLM) to perform an entire conversion autonomously, the solution adopts a <strong>hybrid engineering approach</strong>.</p><p>The conversion pipeline consists of three distinct stages:</p><ol><li>Rule-Based Parsing</li><li>Programmatic Code Generation</li><li>AI-Assisted Review and Refinement</li></ol><p>This layered approach combines deterministic engineering with AI-powered intelligence, resulting in higher accuracy, explainability, and maintainability.</p><p><strong>Product Overview</strong></p><p>The solution was initially conceived as a lightweight engineering utility to simplify repetitive migration tasks. As development progressed, it evolved into a reusable product packaged as a <strong>GitHub Copilot Extension</strong>, allowing developers to perform AI-assisted code modernization directly within Visual Studio Code.</p><p>Instead of functioning as a standalone desktop application, the extension integrates seamlessly into the existing developer workflow. Once installed, it behaves like any other GitHub Copilot extension, eliminating the need to switch tools or environments.</p><p>The user experience has been intentionally designed to remain simple.</p><p>The developer selects the source technology from a drop-down list. Based on this selection, the application automatically filters only the relevant source files — for example:</p><ul><li>.sql files for T-SQL and Azure Synapse</li><li>Informatica XML exports</li><li>Alteryx .yxmd workflow files</li><li>SAS programs</li></ul><p>Each selected source is then routed to its dedicated conversion engine before producing PySpark or Spark SQL output.</p><p><strong>Installation and Prerequisites</strong></p><p>One of the design goals was simplicity.</p><p>The extension requires only:</p><ul><li>Visual Studio Code</li><li>Python 3.10 or later</li><li>GitHub Copilot (optional for AI-assisted review)</li></ul><p>The extension itself is extremely lightweight — approximately <strong>150–200 KB</strong> — and installs within seconds.</p><p>Even in environments where GitHub Copilot or an LLM is unavailable, the application continues to perform deterministic programmatic conversion, ensuring uninterrupted productivity.</p><p><strong>Solution Architecture</strong></p><p>The following diagram illustrates the complete architecture of the AI-Assisted Code Conversion Suite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KfbNYk2MAxG3eTNz38httg.png" /><figcaption>Code Conversion Suite</figcaption></figure><p>The workflow begins with the developer selecting the source technology through the extension interface. The application then identifies compatible source files and routes them to the appropriate parser and conversion engine.</p><p>Each technology is processed independently using specialized parsing libraries before entering a shared rule-based conversion engine, followed by programmatic code generation. Unsupported constructs are explicitly marked as TODOs and, when GitHub Copilot is available, are automatically reviewed and refined using AI before producing the final PySpark or Spark SQL output.</p><p>The converted artifacts are organized into technology-specific output folders, simplifying validation and deployment into Databricks.</p><p><strong>Modular Conversion Framework</strong></p><p>A fundamental architectural principle behind the solution is <strong>modularity</strong>.</p><p>Rather than implementing a monolithic converter, the framework adopts a plug-in architecture in which each source technology encapsulates its own parser, metadata extractor, conversion rules, validation logic, and code generator.</p><p>This separation ensures that changes made to one converter — for example, Informatica — have no impact on T-SQL, SAS, or Alteryx conversions.</p><p>The modular architecture also simplifies onboarding of future technologies. Supporting additional ETL platforms such as Talend, IBM DataStage, or SSIS requires only the implementation of a new module without modifying the framework core.</p><p>This approach provides significant engineering advantages:</p><ul><li>Loose coupling between technologies.</li><li>Independent module development.</li><li>Easier testing and maintenance.</li><li>Reduced regression risk.</li><li>Scalability for future modernization initiatives.</li></ul><p><strong>Technology Stack Behind the Conversion Engine</strong></p><p><strong>SQLGlot — Intelligent SQL Parsing</strong></p><p>For SQL-based technologies such as <strong>T-SQL</strong> and <strong>Azure Synapse SQL</strong>, the solution leverages <strong>SQLGlot</strong>, an open-source SQL parser and transpiler.</p><p>Rather than relying on fragile string replacement or regular expressions, SQLGlot converts SQL into an <strong>Abstract Syntax Tree (AST)</strong>. This allows the engine to understand the semantic structure of queries before generating equivalent Spark SQL.</p><p>SQLGlot enables:</p><ul><li>Multi-dialect SQL parsing.</li><li>SQL normalization.</li><li>Function translation.</li><li>Syntax validation.</li><li>Query optimization.</li><li>Spark SQL generation.</li></ul><p>Its AST-based approach significantly improves conversion accuracy, especially for complex joins, nested queries, window functions, and common table expressions.</p><p><strong>lxml — Parsing Informatica Metadata</strong></p><p>Informatica workflows are represented as XML documents containing metadata for sources, targets, transformations, sessions, and workflows.</p><p>The conversion engine utilizes <strong>lxml</strong>, a high-performance Python XML library, to parse these documents into structured XML trees.</p><p>Using XPath and XML tree traversal, the framework extracts:</p><ul><li>Source definitions.</li><li>Target definitions.</li><li>Mapping metadata.</li><li>Lookup transformations.</li><li>Expressions.</li><li>Session configurations.</li><li>Workflow dependencies.</li></ul><p>This structured representation forms the basis for deterministic PySpark generation.</p><p><strong>NetworkX — Graph-Based Workflow Reconstruction</strong></p><p>Unlike SQL scripts, Alteryx workflows are fundamentally graph-based.</p><p>Every tool represents a processing node, while connectors define directed edges describing the movement of data through the workflow.</p><p>To preserve execution order accurately, the solution utilizes <strong>NetworkX</strong>, one of Python’s most widely used graph analysis libraries.</p><p>NetworkX enables the framework to:</p><ul><li>Construct workflow graphs.</li><li>Traverse execution paths.</li><li>Detect branching logic.</li><li>Resolve merge points.</li><li>Identify disconnected components.</li><li>Preserve execution dependencies.</li></ul><p>By reconstructing the workflow topology, the engine generates equivalent PySpark DataFrame operations with significantly greater accuracy.</p><p><strong>SAS Parsing</strong></p><p>SAS introduces unique procedural constructs such as DATA steps, PROC SQL, macros, and conditional processing.</p><p>The conversion engine employs Python-based parsing techniques, including tokenization and pattern matching, to analyze SAS programs before mapping them into Spark-native implementations.</p><p>The parser focuses on identifying reusable transformation patterns while preserving the original business logic.</p><p><strong>Three-Layer Conversion Strategy</strong></p><p>The conversion engine deliberately avoids relying exclusively on AI. Instead, it follows a layered engineering approach that maximizes accuracy while preserving transparency.</p><p><strong>Layer 1 — Rule-Based Conversion</strong></p><p>The first stage applies deterministic conversion rules to known patterns, including SQL syntax mapping, function translation, operator replacement, and standard ETL constructs. This layer provides fast, repeatable, and highly reliable transformations.</p><p><strong>Layer 2 — Programmatic Conversion</strong></p><p>The second stage generates PySpark DataFrame operations and Spark SQL programmatically using reusable templates and metadata extracted during parsing.</p><p>Whenever the engine encounters unsupported or ambiguous constructs, it does not attempt to infer behavior. Instead, it inserts explicit <strong>TODO</strong> annotations into the generated code, allowing developers to review these areas with full visibility.</p><p><strong>Layer 3 — AI-Assisted Review</strong></p><p>When GitHub Copilot is available, the generated output is automatically reviewed by an LLM. The AI focuses specifically on unresolved TODOs, refines complex expressions, improves readability, and recommends Spark-native optimizations.</p><p>This hybrid approach ensures that deterministic logic handles predictable scenarios while AI contributes only where additional reasoning is required.</p><p><strong>Benefits of the Solution</strong></p><p>The AI-Assisted Code Conversion Suite transforms modernization from a manual engineering exercise into an intelligent, repeatable process.</p><p>Instead of spending weeks rewriting legacy code, developers can generate an initial PySpark implementation within minutes. Engineering effort shifts from translation to validation, enabling teams to focus on optimization and business logic rather than syntax conversion.</p><p>The modular architecture supports future technologies without redesigning the framework, while deterministic conversion combined with optional AI review ensures high accuracy, transparency, and maintainability.</p><p>Most importantly, the solution remains fully functional even when AI services are unavailable, allowing organizations with strict security or compliance requirements to continue benefiting from automated modernization.</p><p><strong>Engineering Principles</strong></p><p>Several architectural principles guided the design of the solution.</p><p>The framework embraces modularity by isolating each source technology into independent conversion modules, reducing coupling and simplifying future enhancements. Deterministic conversion is prioritized over AI to ensure predictable and explainable outputs, with AI serving as an augmentation layer rather than the primary conversion mechanism.</p><p>Transparency is another key principle. Unsupported constructs are surfaced as explicit TODO markers instead of being silently ignored or guessed, enabling developers to review and validate edge cases with confidence.</p><p>Extensibility was also central to the design. New source technologies can be incorporated by adding dedicated modules without altering the framework core, making the solution adaptable to evolving enterprise modernization requirements.</p><p>Finally, the framework integrates directly into the developer’s existing workflow through GitHub Copilot and Visual Studio Code, minimizing disruption while maximizing productivity.</p><p><strong>Looking Ahead</strong></p><p>Enterprise modernization is entering a new era. Migration is no longer viewed as a one-time engineering exercise but as an opportunity to build intelligent, reusable modernization capabilities.</p><p>The convergence of deterministic parsing, graph-based workflow analysis, metadata-driven conversion, and AI-assisted refinement represents a significant evolution in how legacy systems are transformed.</p><p>As AI capabilities continue to mature, engineering teams will increasingly rely on hybrid approaches that combine the predictability of traditional software engineering with the adaptability of large language models. This shift will enable organizations to modernize faster, reduce operational costs, and focus more on delivering business value than on repetitive translation tasks.</p><p><strong>Conclusion</strong></p><p>The future of enterprise modernization lies not in choosing between traditional engineering and artificial intelligence, but in combining the strengths of both.</p><p>This AI-Assisted Code Conversion Suite demonstrates how deterministic parsing, modular architecture, metadata-driven conversion, and optional AI refinement can work together to create a scalable and trustworthy modernization framework. Rather than replacing developers, the solution empowers them by automating repetitive conversion tasks while preserving transparency, accuracy, and control.</p><p>As data platforms continue to evolve and cloud-native architectures become the standard, solutions like this will play a pivotal role in accelerating digital transformation. Organizations that embrace intelligent engineering practices will be better positioned to modernize legacy assets with greater speed, higher confidence, and significantly lower effort — turning what was once a lengthy migration project into a streamlined, repeatable engineering capability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51b94eb15765" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Semantic Data Modeling Agent: From Fragmented Enterprise Schemas to a Unified Canonical…]]></title>
            <link>https://medium.com/@mvkally/building-a-semantic-data-modeling-agent-from-fragmented-enterprise-schemas-to-a-unified-canonical-3d674aabe93c?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d674aabe93c</guid>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[build-ai-agents]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 31 May 2026 16:04:16 GMT</pubDate>
            <atom:updated>2026-05-31T16:04:16.081Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iHoBHurHXpd_8g4C4ClXLA.png" /></figure><h3>Building a Semantic Data Modeling Agent: From Fragmented Enterprise Schemas to a Unified Canonical Model</h3><h3>Introduction</h3><p>I recently got an opportunity to work on building an intelligent semantic data-modeling agent designed to solve one of the most persistent challenges in enterprise data architecture: transforming fragmented and inconsistent source schemas into a unified confirmed canonical data model.</p><p>At the beginning, the problem sounded relatively straightforward. The idea was simple — analyze multiple source systems, identify semantically similar entities, and automatically generate a consolidated enterprise model. However, once we started exploring the actual metadata landscape across systems, the complexity became immediately visible.</p><p>Every source system had evolved independently over several years. Some were legacy platforms built decades ago. Others were modern cloud-native applications. Each system had its own naming conventions, abbreviations, metadata quality standards, and business interpretations.</p><p>What initially looked like a metadata-mapping problem quickly turned into a much deeper semantic understanding challenge.</p><p>One application referred to customer information using a table called CUSTOMER_MASTER. Another system used CLIENT_PROFILE. A billing platform exposed a similar concept through ACCOUNT_HOLDER, while a legacy system abbreviated the same entity into something cryptic like PRTY_MST.</p><p>From a human perspective, it was relatively easy to recognize that all these objects represented closely related business concepts. But for an automated system, the challenge was significantly harder.</p><p>The problem became even more complicated at the column level.</p><p>A field named STATUS existed in almost every source system:</p><ul><li>Customer onboarding status</li><li>Payment processing status</li><li>Trade settlement status</li><li>Compliance review status</li><li>Subscription lifecycle status</li></ul><p>The same name appeared everywhere, but the semantic meaning changed completely depending on the surrounding business context.</p><p>That realization became the turning point of the entire solution architecture.</p><p>We understood very early that traditional rule-based mapping approaches would not scale effectively in this environment. Simple keyword matching, naming standardization, or lookup dictionaries would only solve a fraction of the problem.</p><p>What we actually needed was a system capable of understanding semantic business context.</p><p>That requirement eventually led us toward building a deterministic semantic enrichment and clustering pipeline capable of:</p><ul><li>Understanding enterprise metadata context</li><li>Identifying semantically related entities</li><li>Grouping business concepts intelligently</li><li>Generating explainable canonical models</li><li>Maintaining deterministic and repeatable outputs</li></ul><p>The most important design principle was that the system had to remain explainable and stable.</p><p>We intentionally avoided purely generative approaches because enterprise governance teams require:</p><ul><li>Traceability</li><li>Deterministic behavior</li><li>Confidence scoring</li><li>Repeatable outcomes</li><li>Auditable transformations</li></ul><p>The same metadata input should always generate the same confirmed model output.</p><p>That architectural decision shaped the entire implementation.</p><h3>Understanding the Real Enterprise Problem</h3><p>One of the biggest misconceptions in enterprise data modeling is assuming that schema integration is primarily a naming problem.</p><p>In reality, enterprise semantic fragmentation happens at multiple layers simultaneously.</p><p>Different systems evolve independently over time due to:</p><ul><li>Separate business teams</li><li>Vendor products</li><li>Acquisitions and mergers</li><li>Technology modernization initiatives</li><li>Regulatory requirements</li><li>Legacy migrations</li></ul><p>As a result, organizations slowly accumulate multiple representations of the same business entity across systems.</p><p>For example, consider something as fundamental as a customer.</p><p>Inside one CRM application, customer information may appear as:</p><p>CUSTOMER_MASTER</p><p>Meanwhile, an ERP platform may expose:</p><p>CLIENT_ACCOUNT</p><p>A banking platform may store the same concept as:</p><p>PARTY_PROFILE</p><p>And a compliance system may represent it through:</p><p>KYC_ENTITY</p><p>Technically, these are different schemas. But semantically, they are deeply related.</p><p>Traditional metadata comparison approaches struggle because they rely heavily on:</p><ul><li>Exact keyword matching</li><li>Static business glossaries</li><li>Manual mapping exercises</li><li>Human interpretation workshops</li></ul><p>These methods quickly become difficult to maintain once the scale grows beyond a few hundred tables.</p><p>In our case, we were dealing with:</p><ul><li>Hundreds of tables</li><li>Thousands of columns</li><li>Multiple source systems</li><li>Inconsistent metadata quality</li><li>Incomplete business descriptions</li></ul><p>Manual harmonization would have taken months.</p><p>We needed a scalable semantic understanding pipeline.</p><h3>The Core Insight That Changed the Architecture</h3><p>One of the earliest experiments involved directly comparing column names across systems using lexical similarity techniques.</p><p>Initially, the results appeared promising.</p><p>Columns like:</p><ul><li>CUSTOMER_ID</li><li>CLIENT_ID</li><li>ACCOUNT_HOLDER_ID</li></ul><p>were clustering reasonably well.</p><p>But very quickly, the limitations became obvious.</p><p>A column called STATUS started matching almost everything.</p><p>Similarly:</p><ul><li>TYPE</li><li>CATEGORY</li><li>REFERENCE_ID</li><li>CODE</li><li>DESCRIPTION</li></ul><p>all generated large volumes of false-positive relationships.</p><p>That was the moment we realized something extremely important:</p><h3>A column name alone does not carry enough semantic meaning.</h3><p>The actual meaning of a field depends heavily on its surrounding business context.</p><p>For example:</p><h3>TAX_ID inside a customer onboarding table</h3><p>This usually refers to:</p><ul><li>Identity verification</li><li>KYC</li><li>Regulatory compliance</li><li>Customer identification</li></ul><p>But the exact same column name inside an invoice table may represent:</p><ul><li>Tax processing</li><li>Billing classification</li><li>Financial reporting</li></ul><p>The semantic interpretation changes completely depending on the table context.</p><p>That insight fundamentally reshaped the architecture.</p><p>Instead of treating columns as isolated entities, we started treating them as context-aware semantic objects.</p><h3>Building Semantic Fingerprints</h3><p>This became the foundation of the entire pipeline.</p><p>Rather than embedding raw column names directly, we created enriched semantic fingerprints for every attribute.</p><p>Each fingerprint was constructed by combining multiple metadata dimensions together into a unified semantic representation.</p><p>The pipeline incorporated:</p><ul><li>Raw table names</li><li>Standardized business table names</li><li>Table descriptions</li><li>Raw column names</li><li>Standardized column names</li><li>Business attribute descriptions</li><li>Enterprise glossary context</li></ul><p>Instead of generating embeddings from something simplistic like:</p><p>CUSTOMER_ID</p><p>the system generated contextualized semantic sentences such as:</p><blockquote><em>“Customer master entity containing unique client identification information used for onboarding, account ownership, and regulatory verification.”</em></blockquote><p>This dramatically improved semantic understanding.</p><p>The embeddings were no longer learning isolated technical labels. They were learning business meaning.</p><p>That distinction significantly improved downstream clustering quality.</p><h3>Handling Incomplete Metadata</h3><p>One of the major enterprise realities we encountered was inconsistent metadata quality.</p><p>Some systems had excellent documentation:</p><ul><li>Detailed table descriptions</li><li>Curated business glossaries</li><li>Standardized naming conventions</li></ul><p>Others contained almost no useful metadata at all.</p><p>Some legacy platforms exposed:</p><ul><li>Abbreviated table names</li><li>Truncated column names</li><li>Empty descriptions</li><li>Inconsistent aliases</li></ul><p>If the pipeline depended entirely on perfect metadata, it would fail immediately in real-world enterprise environments.</p><p>To make the system resilient, we introduced progressive enrichment logic.</p><p>When standardized names were unavailable:</p><ul><li>Raw names became fallback signals</li></ul><p>When descriptions were missing:</p><ul><li>Table context was amplified</li></ul><p>When metadata quality was poor:</p><ul><li>Semantic similarity relied more heavily on neighboring contextual signals</li></ul><p>This ensured that every attribute still received a meaningful semantic fingerprint even in imperfect environments.</p><h3>Why We Chose Deterministic Semantic Modeling</h3><p>During the architecture discussions, one important question repeatedly surfaced:</p><p>Why not simply use a fully generative AI approach?</p><p>At first, that sounded attractive. Large language models are excellent at understanding semantic relationships.</p><p>However, enterprise governance requirements introduced several constraints.</p><p>Architects and governance teams needed:</p><ul><li>Explainability</li><li>Repeatability</li><li>Stability</li><li>Traceability</li><li>Confidence scoring</li></ul><p>A generative-only approach can sometimes produce:</p><ul><li>Non-repeatable outputs</li><li>Hallucinated relationships</li><li>Inconsistent mappings</li><li>Difficult-to-explain decisions</li></ul><p>That level of unpredictability becomes risky inside enterprise modeling pipelines.</p><p>Instead, we designed the system around deterministic semantic scoring.</p><p>The pipeline used:</p><ul><li>Semantic embeddings</li><li>Similarity calculations</li><li>Clustering algorithms</li><li>Archetype scoring</li><li>Confidence thresholds</li></ul><p>This gave us:</p><ul><li>Stable outputs</li><li>Explainable decisions</li><li>Repeatable clustering behavior</li><li>Transparent lineage</li></ul><p>The same input metadata always generated the same confirmed model.</p><p>That consistency became one of the strongest aspects of the architecture.</p><h3>Generating Semantic Embeddings</h3><p>Once the semantic fingerprints were created, the next stage involved transforming them into vector representations.</p><p>Traditional keyword-based approaches struggle because they only understand lexical similarity.</p><p>For example:</p><ul><li>CLIENT</li><li>CUSTOMER</li><li>ACCOUNT_HOLDER</li><li>PARTY</li></ul><p>have very different textual structures despite representing closely related business concepts.</p><p>Semantic embeddings solve this problem by learning contextual relationships between concepts.</p><p>The vector representation captures:</p><ul><li>Business similarity</li><li>Contextual relationships</li><li>Conceptual proximity</li><li>Technical abbreviation patterns</li></ul><p>This allowed semantically related entities to cluster together even when naming conventions differed significantly.</p><p>The improvement compared to traditional string matching was substantial.</p><h3>Cross-System Similarity Analysis</h3><p>Once vector embeddings were generated, we began calculating semantic similarity across source systems.</p><p>One deliberate architectural decision was particularly important:</p><h3>We avoided intra-source comparisons.</h3><p>The objective was enterprise consolidation, not duplicate detection inside the same system.</p><p>If we allowed unrestricted comparisons:</p><ul><li>Similar columns inside the same schema created noise</li><li>Clustering density increased unnecessarily</li><li>Semantic groups became biased toward individual systems</li></ul><p>Instead, we focused exclusively on cross-source semantic relationships.</p><p>This improved clustering precision considerably.</p><p>The pipeline became much better at identifying enterprise-wide canonical relationships.</p><h3>Hierarchical Semantic Clustering</h3><p>After similarity scores were generated, the next challenge involved grouping semantically related attributes into stable business clusters.</p><p>This stage became one of the most interesting parts of the implementation.</p><p>Instead of manually defining business domains, the system began discovering semantic structures organically through similarity patterns.</p><p>Customer-related attributes started grouping together naturally.</p><p>Similarly:</p><ul><li>Product entities</li><li>Financial accounts</li><li>Transactions</li><li>Regulatory identifiers</li><li>Organizational hierarchies</li></ul><p>all began forming independent semantic clusters.</p><p>The clustering process effectively started identifying enterprise business archetypes.</p><p>This was one of the moments where the architecture became genuinely powerful.</p><p>The system was no longer simply matching metadata.</p><p>It was beginning to understand enterprise business structures semantically.</p><h3>Moving From Columns to Business Entities</h3><p>Once column-level clustering stabilized, we extended the same logic to the table level.</p><p>The key assumption was simple:</p><p>If multiple tables consistently contain semantically related column groups, those tables likely represent the same underlying business entity.</p><p>This turned out to be far more effective than direct table-name matching.</p><p>For example:</p><ul><li>CUSTOMER_MASTER</li><li>CLIENT_PROFILE</li><li>ACCOUNT_HOLDER</li><li>PARTY_ENTITY</li></ul><p>could now be grouped confidently based on semantic column overlap rather than lexical similarity alone.</p><p>This became the basis for generating enterprise canonical entities.</p><h3>Building the Confirmed Canonical Data Model</h3><p>The final stage of the pipeline generated the confirmed canonical model.</p><p>At this point, the system had already:</p><ul><li>Enriched metadata context</li><li>Generated semantic fingerprints</li><li>Calculated similarity relationships</li><li>Built semantic clusters</li><li>Identified business archetypes</li></ul><p>The final output consolidated everything into:</p><ul><li>Canonical entities</li><li>Canonical attributes</li><li>Source mappings</li><li>Confidence scores</li><li>Cluster lineage</li><li>Semantic traceability</li></ul><p>Most importantly, every decision remained explainable.</p><p>An architect reviewing the output could understand:</p><ul><li>Why two attributes were grouped</li><li>Which contextual signals contributed</li><li>How similarity was calculated</li><li>What confidence thresholds were applied</li></ul><p>This explainability became critical for enterprise adoption.</p><h3>One of the Biggest Lessons Learned</h3><p>One of the most valuable lessons from this implementation was realizing that enterprise semantic understanding is fundamentally context-driven.</p><p>The meaning of data does not exist in isolation.</p><p>It emerges from:</p><ul><li>Surrounding entities</li><li>Business workflows</li><li>Organizational interpretation</li><li>Metadata relationships</li><li>Domain semantics</li></ul><p>Two identical column names may represent completely unrelated concepts.</p><p>At the same time, two completely different names may represent the exact same business meaning.</p><p>Capturing that distinction is what transforms metadata matching into semantic intelligence.</p><h3>Future Possibilities</h3><p>Although the initial implementation focused on canonical data-model generation, the architecture naturally opens the door to several advanced enterprise capabilities.</p><p>The same semantic foundation can eventually support:</p><ul><li>Intelligent data governance</li><li>Automated lineage generation</li><li>Knowledge graph construction</li><li>Semantic cataloging</li><li>AI-assisted schema discovery</li><li>Enterprise ontology generation</li><li>Automated mapping recommendations</li></ul><p>As metadata ecosystems continue growing in complexity, semantic understanding will become increasingly important in enterprise architecture.</p><h3>Final Thoughts</h3><p>What began as a schema harmonization exercise gradually evolved into something much more interesting — a semantic intelligence framework for enterprise data understanding.</p><p>The most rewarding part of the journey was seeing how contextual semantic enrichment dramatically improved the system’s ability to recognize business meaning across fragmented enterprise platforms.</p><p>By combining:</p><ul><li>Context-aware semantic fingerprints</li><li>Deterministic similarity scoring</li><li>Semantic vector representations</li><li>Hierarchical clustering</li><li>Explainable lineage generation</li></ul><p>we were able to create a scalable and enterprise-friendly approach for confirmed canonical data-model generation.</p><p>More importantly, the system remained:</p><ul><li>Explainable</li><li>Deterministic</li><li>Traceable</li><li>Governance-friendly</li><li>Architecturally scalable</li></ul><p>In many ways, the project reinforced an important realization:</p><p>Enterprise data modeling is no longer just about schema design.</p><p>It is increasingly becoming a semantic understanding problem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d674aabe93c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enterprise AI, Revisited: From Assistive Tools to Intelligent Systems]]></title>
            <link>https://medium.com/@mvkally/enterprise-ai-revisited-from-assistive-tools-to-intelligent-systems-4516d3acfdd4?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4516d3acfdd4</guid>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 15:26:50 GMT</pubDate>
            <atom:updated>2026-04-05T15:26:50.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJw-Br8aaf9sUUQdJcKXoQ.png" /></figure><p>These days, almost every IT organization is entering a new phase — AI adoption. Whether it’s improving developer productivity, enabling business users with smarter insights, or automating complex workflows, AI is no longer optional. It’s becoming a foundational capability.</p><p>But as organizations begin this journey, there’s often confusion. Some teams start experimenting with tools like Copilots, while others jump directly into building custom AI solutions using large language models. Both approaches are valid — but they serve very different purposes.</p><p>Let’s break this down in a simple, conversational way.</p><p><strong>Copilot vs Custom AI — Where to Fit?</strong></p><p>In most enterprises today, AI adoption naturally splits into two paths.</p><p>The first path is using AI through Copilots. These are ready-made assistants embedded into tools you already use. You don’t need to build anything from scratch — the intelligence is already there. This works best when your goal is quick adoption, low risk, and immediate productivity gains.</p><p>The second path is building AI using LLMs. This is where organizations move beyond usage and start engineering intelligence. Here, you define how AI behaves, what data it uses, and how it integrates into your ecosystem.</p><p>A simple way to think about it is:</p><p><em>Copilot helps you use AI.</em></p><p><em>LLMs help you build AI.</em></p><p><strong>The AI Lifecycle — And Where Tools Actually Fit</strong></p><p>When you move into LLM-based development, one important realization hits quickly: this is not just “calling an API.” It’s a full lifecycle. And interestingly, the market today is full of tools — each specializing in a specific layer of this lifecycle.</p><p>Let’s walk through the lifecycle again, but this time with real tools mapped to each stage.</p><p><strong>Discovery &amp; Ideation Layer — Where AI Starts Taking Shape</strong></p><p>This is where teams explore ideas, experiment with prompts, and understand what is even possible. In this phase, tools like Cursor are becoming extremely popular. Cursor is essentially an AI-powered development environment that allows you to interact with your codebase using natural language, making it easier to prototype ideas quickly.</p><p>Alongside that, newer tools like Lovable and other “AI-first builders” are emerging, focusing on rapid prototyping and product thinking rather than deep engineering. These tools are less about production and more about helping teams think with AI before they build with it.</p><p>There’s also a growing concept called context engineering platforms, where tools help structure prompts, manage inputs, and refine how models understand context — this is becoming critical even at the discovery stage.</p><p><strong>Development &amp; Orchestration Layer — The Core of AI Systems</strong></p><p>Once the idea is clear, development begins — and this is where the most mature ecosystem exists today.</p><p>LangChain is often considered the “standard layer” for building LLM applications. It acts as the glue that connects models, APIs, databases, and business logic into a working system.</p><p>As systems become more complex, LangGraph comes into play. It allows developers to build stateful, multi-step AI workflows where the system can loop, retry, and make decisions — very similar to how humans solve problems.</p><p>Other tools like LlamaIndex (for data retrieval pipelines) and AutoGen or CrewAI (for multi-agent collaboration) are also becoming common in this layer, especially when building enterprise-grade AI systems.</p><p><strong>Data &amp; Retrieval Layer — Making AI Actually Useful</strong></p><p>An LLM without data is just a generic assistant. This layer ensures that AI systems can access enterprise knowledge.</p><p>Here, tools like LlamaIndex specialize in connecting structured and unstructured data sources to LLMs. Vector databases such as Pinecone or Weaviate enable semantic search, allowing AI to retrieve relevant information based on meaning rather than keywords.</p><p>This layer powers what we call RAG (Retrieval-Augmented Generation), which is now the default architecture for most enterprise AI solutions.</p><p><strong>Testing &amp; Evaluation Layer — Where Most Systems Fail or Succeed</strong></p><p>This is one of the most critical — and often ignored layers.</p><p>Unlike traditional systems, AI needs continuous evaluation. Tools like LangSmith are emerging as central platforms for debugging, tracing, and evaluating LLM applications. They allow teams to track how prompts behave, analyze failures, and improve outputs systematically.</p><p>There are also specialized evaluation tools (like prompt testing frameworks and observability platforms) that help measure hallucination rates, response accuracy, and consistency across scenarios.</p><p>In many organizations, this layer becomes a combination of tools + custom evaluation pipelines.</p><p><strong>Deployment &amp; Serving Layer — Turning AI into a Product</strong></p><p>Once validated, the system needs to be deployed in a scalable and secure way.</p><p>Platforms like Azure AI Studio, model serving endpoints, and API gateways play a key role here. These tools ensure that your AI system is accessible, reliable, and production-ready.</p><p>This is also where considerations like latency, cost optimization, and security (especially for enterprise data) come into play.</p><p><strong>Consumption Layer — Where Users Actually Interact</strong></p><p>This is the layer that business users actually see.</p><p>Tools like Streamlit and Gradio are widely used to quickly build interactive AI applications. They allow teams to create chat interfaces, dashboards, and data apps without heavy frontend development.</p><p>The success of an AI system is often decided here — not by how powerful the model is, but by how easy it is for users to interact with it.</p><p>Monitoring &amp; Feedback Layer — Continuous Improvement</p><p>Finally, once the system is live, it enters a feedback loop.</p><p>This is where observability tools, logging systems, and user feedback mechanisms come into play. AI systems improve over time by learning from real-world usage.</p><p>Modern platforms are increasingly integrating monitoring directly into the development stack, making this a continuous rather than a separate phase.</p><p><strong>AI Tools Across the Lifecycle</strong></p><p>One of the most interesting shifts in today’s AI ecosystem is that tools are no longer confined to a single layer of the lifecycle. Earlier, you could clearly say, “this is a development tool” or “this is a testing tool.” But that boundary is now blurring.</p><p>Some tools are evolving into end-to-end platforms, while others still remain highly specialized. Understanding this distinction is what helps in designing a practical AI architecture.</p><p>If we look at the current market, tools like <strong>Cursor</strong> and <strong>Vellum</strong> are good examples of this evolution. While they are often introduced during the discovery phase — because teams use them to experiment with prompts, validate ideas, and prototype quickly — their capabilities extend much further. Cursor, for instance, acts as an AI-native development environment where you not only explore ideas but also write, debug, and refine production-level code. Similarly, Vellum goes beyond prompt design and supports workflow creation, evaluation, and iteration. In reality, both of these tools span across discovery, development, and even testing layers, making them closer to lifecycle-aware platforms rather than single-purpose tools.</p><p>As we move deeper into the development and orchestration layer, tools become more structured. <strong>LangChain </strong>continues to be one of the most widely used frameworks for integrating LLMs with business logic, APIs, and external systems. However, enterprise adoption is increasingly seeing tools like Semantic Kernel, which fits naturally into Microsoft ecosystems, and <strong>DSPy</strong>, which introduces a more programmatic and declarative way of building LLM pipelines. These tools are primarily focused on development but often extend slightly into orchestration and optimization.</p><p>When it comes to data and retrieval, the ecosystem is still quite specialized. <strong>LlamaIndex </strong>plays a crucial role in structuring enterprise data for LLM consumption, especially in RAG-based architectures. Alongside it, vector databases like <strong>Pinecone </strong>and <strong>Weaviate </strong>remain foundational, enabling semantic search capabilities. These tools are tightly focused on the data layer, and unlike Cursor or Vellum, they do not try to expand beyond their core responsibility.</p><p>The testing and evaluation layer is where we are seeing rapid innovation. Tools like <strong>DeepEval </strong>and <strong>Braintrust </strong>are specifically designed to bring discipline into AI validation. They allow teams to create evaluation datasets, run automated test cases, and measure output quality. Unlike earlier phases, tools in this layer are still mostly specialized, focusing purely on ensuring reliability and accuracy of AI systems.</p><p>Closely related to this is the observability and monitoring layer, which has become critical for production-grade AI. Tools like <strong>Langfuse </strong>and <strong>Arize </strong>Phoenix provide deep visibility into how AI systems behave in real-world scenarios. They track interactions, detect anomalies, and help teams understand failure patterns. These tools typically operate post-deployment but continuously feed insights back into development and testing, effectively closing the lifecycle loop.</p><p>In scenarios where automation becomes more complex, especially with multi-step reasoning, agent-based frameworks like <strong>CrewAI </strong>and <strong>AutoGen </strong>come into play. These tools sit primarily in the orchestration layer but often extend into execution and coordination across multiple components, making them essential for advanced AI workflows.</p><p>For deployment and enterprise-scale integration, platforms like <strong>Azure AI Studio</strong> and <strong>Google Vertex AI</strong> provide end-to-end capabilities. These are closest to true lifecycle platforms, covering model hosting, scaling, governance, and security. Unlike other tools, they are designed with enterprise constraints in mind, making them critical for production environments.</p><p>Finally, in the consumption layer, tools like <strong>Streamlit </strong>and <strong>Gradio </strong>remain dominant because of their simplicity. They are not concerned with how the AI works internally — they focus entirely on how users interact with it. And in many cases, this layer determines whether an AI system is actually adopted or not.</p><p><strong>Final Thought</strong></p><p>What’s interesting about today’s AI ecosystem is that no single tool does everything. Instead, each tool specializes in a layer of the lifecycle.</p><p>The real skill for modern architects and engineers is not just knowing one tool — but knowing how these tools fit together.</p><p>That’s what separates experimentation from true AI adoption.</p><p>And that’s where the real value begins.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4516d3acfdd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Dataset to Data Product: My Journey Implementing Databricks with Collibra Governance]]></title>
            <link>https://medium.com/@mvkally/from-dataset-to-data-product-my-journey-implementing-databricks-with-collibra-governance-1ab9d53926ec?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ab9d53926ec</guid>
            <category><![CDATA[data-mesh]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[data-product-creation]]></category>
            <category><![CDATA[collibra]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 09:21:29 GMT</pubDate>
            <atom:updated>2026-02-22T09:21:29.249Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KTDNNMnR3Mv0GVwtvEjtEQ.png" /></figure><p>Recently, I had the opportunity to work hands-on on something that genuinely reshaped how I think about data architecture.</p><p>I’ve spent years working with modern cloud data platforms. Building pipelines. Optimizing transformations. Designing scalable lakehouse architectures. But this time, the assignment was different.</p><p>This time, it wasn’t just about building data.</p><p>It was about building a <strong>data product</strong> using Databricks integrated with Collibra — and doing it the right way, under a Data Mesh mindset.</p><p>What started as a technical implementation slowly became a lesson in ownership, governance, accountability, and culture.</p><p>And honestly, it changed my perspective.</p><h3>The Moment Everything Shifted</h3><p>We were building curated Gold-layer tables in Databricks using the Medallion architecture. The engineering was clean. Transformations were optimized. Access controls were in place through Unity Catalog.</p><p>From a technical standpoint, we were satisfied.</p><p>Then a business stakeholder asked a simple question:</p><blockquote><em>“How do I know this is the right dataset to use? Who owns it? Is it certified?”</em></blockquote><p>That question exposed something important.</p><p>We had engineered data.</p><p>But we had not productized it.</p><p>That was the turning point.</p><h3>Understanding What a Data Product Really Means</h3><p>Around the same time, I revisited the Data Mesh concept introduced by Zhamak Dehghani. The idea sounds simple on paper:</p><ul><li>Data is owned by domains</li><li>Data is treated as a product</li><li>Governance is federated</li><li>Discoverability is essential</li></ul><p>But implementing it in practice is very different from understanding it conceptually.</p><p>A true data product, I realized, must include:</p><ul><li>Clear business ownership</li><li>Defined SLA and freshness expectations</li><li>Business glossary alignment</li><li>Technical lineage</li><li>Governance policies</li><li>Certification workflow</li><li>Discoverability for end users</li></ul><p>Without these, it’s just another table sitting in a lakehouse.</p><h3>Building the Product in Databricks</h3><p>We structured our environment carefully in Databricks:</p><ul><li>Catalog represented the domain (e.g., healthcare)</li><li>Schema represented business capability</li><li>Gold tables represented curated products</li></ul><p>We enforced:</p><ul><li>Mandatory table and column descriptions</li><li>PII tagging</li><li>Fine-grained RBAC</li><li>Unity Catalog lineage tracking</li></ul><p>Technically, everything was robust.</p><p>But governance had not yet started.</p><h3>Bringing Governance to Life with Collibra</h3><p>Once metadata was synchronized into Collibra, the real work began.</p><p>And this is where I truly understood the difference between metadata management and governance.</p><p>Metadata ingestion gave us visibility.</p><p>Governance required intention.</p><h3>Assigning Ownership: Sounds Simple, Isn’t</h3><p>One of the first tasks was assigning:</p><ul><li>Business Owner</li><li>Technical Owner</li><li>Data Steward</li></ul><p>On paper, this looks trivial.</p><p>In reality, it was one of the hardest parts.</p><p>Because ownership means accountability.</p><p>When we asked a domain lead, “Will you take ownership of this data product?” the conversation changed. Ownership implies responsibility for:</p><ul><li>Data accuracy</li><li>SLA adherence</li><li>Change approvals</li><li>User queries</li></ul><p>Not everyone immediately wants that responsibility.</p><p>That was my first lesson:<br>Data Mesh decentralization only works if ownership is culturally accepted, not just technically assigned.</p><h3>Glossary Alignment: Where Semantics Become Real</h3><p>The next challenge was business glossary mapping.</p><p>Take a simple example:</p><p>“Claim Amount”</p><p>Sounds straightforward.</p><p>But different teams defined it differently:</p><ul><li>Approved amount</li><li>Requested amount</li><li>Paid amount</li><li>Including tax or excluding tax</li></ul><p>If we didn’t standardize this in Collibra’s glossary and link it to the correct Gold column, downstream confusion was inevitable.</p><p>So we:</p><ul><li>Defined glossary terms clearly</li><li>Linked them to Databricks columns</li><li>Mapped them to reports</li><li>Reviewed them with business stakeholders</li></ul><p>Now when someone searched in Collibra, they didn’t just see column names — they saw context.</p><p>This drastically reduced semantic misinterpretation.</p><h3>Lineage: Preventing Silent Failures</h3><p>Unity Catalog automatically captured technical lineage, which was powerful.</p><p>But seeing lineage visually in Collibra changed the conversation.</p><p>Before modifying a transformation logic in Databricks, we checked:</p><ul><li>Which downstream Power BI reports depend on this column?</li><li>Which dashboards would break?</li><li>Which teams would be impacted?</li></ul><p>Earlier, such changes were risky and reactive.</p><p>Now they were informed and proactive.</p><h3>Helping End Users — The Power BI Experience</h3><p>Many consumers connected via Microsoft Power BI.</p><p>Before governance:</p><ul><li>Analysts guessed which tables to use</li><li>Similar datasets were recreated multiple times</li><li>Metrics differed across reports</li></ul><p>After product registration and certification:</p><ul><li>They searched in Collibra</li><li>Found certified data products</li><li>Understood definitions via glossary</li><li>Verified freshness</li><li>Identified owners</li></ul><p>The number of clarification emails reduced noticeably.</p><p>That’s when I realized governance isn’t bureaucracy — it’s enablement.</p><h3>Where Databricks Genie Fits In</h3><p>We also explored Databricks Genie.</p><p>Genie is excellent for:</p><ul><li>Natural language queries</li><li>SQL generation</li><li>Quick data exploration</li></ul><p>It improves accessibility dramatically.</p><p>But Genie helps you ask better questions.</p><p>Collibra ensures you’re asking questions on trusted, certified data.</p><p>Genie does not manage:</p><ul><li>Certification workflows</li><li>Policy enforcement</li><li>Glossary standardization</li><li>Stewardship accountability</li></ul><p>So they are complementary — not substitutes.</p><h3>The Real Challenges We Faced</h3><p>This is where the experience became truly educational.</p><h3>1. Maintaining Data Products Over Time</h3><p>Creating one governed product is manageable.</p><p>Maintaining 30+ products is operationally complex.</p><p>For each product, we had to ensure:</p><ul><li>SLA monitoring</li><li>Metadata updates</li><li>Sync validation</li><li>Periodic certification review</li><li>Change impact analysis</li></ul><p>Governance is not a one-time activity. It is continuous.</p><p>Without automation, this becomes overwhelming quickly.</p><h3>2. Governance vs Agility Tension</h3><p>Engineers want to deploy quickly.</p><p>Governance requires review, certification, and documentation.</p><p>We initially noticed resistance:</p><p>“Why do we need approval just to publish a Gold table?”</p><p>The answer became clear when we saw inconsistent definitions spreading across domains. We had to redesign workflows to make governance lightweight but mandatory.</p><p>Too heavy → teams bypass it.<br> Too light → chaos spreads.</p><p>Finding that balance took effort.</p><h3>3. Metadata Drift</h3><p>One subtle but serious challenge was metadata synchronization.</p><p>If someone:</p><ul><li>Renamed a column in Databricks</li><li>Modified schema</li><li>Created a new table</li></ul><p>And the sync job failed or was delayed,</p><p>Collibra’s glossary links became outdated.</p><p>That creates silent governance decay.</p><p>So we implemented:</p><ul><li>Scheduled daily sync</li><li>Monitoring alerts</li><li>Governance review checkpoints</li></ul><p>This was critical.</p><h3>Benefits We Observed After Stabilization</h3><p>Once processes matured, the results were visible.</p><ul><li>Domain accountability improved</li><li>Trust in data increased</li><li>Fewer duplicated datasets</li><li>Reduced semantic conflicts</li><li>Faster onboarding for new analysts</li><li>Better audit readiness</li></ul><p>Most importantly, conversations shifted from:</p><p>“Which table should I use?”</p><p>To:</p><p>“Which certified data product supports this use case?”</p><p>That shift is powerful.</p><h3>Final Reflection</h3><p>This journey taught me that Data Mesh is not a technical architecture. It is an organizational evolution. Databricks gave us scalable processing and lineage. Collibra gave us structured governance and business alignment. Databricks Genie improved accessibility. But ownership, accountability, and disciplined governance made the ecosystem sustainable. Building pipelines is engineering. Building trusted data products is architecture.</p><p>And that distinction changed how I now approach every data platform implementation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ab9d53926ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secured Data Access with Exasol using MCP Server (SaaS POC)]]></title>
            <link>https://medium.com/@mvkally/secured-data-access-with-exasol-using-mcp-server-saas-poc-a942e0fb94ec?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a942e0fb94ec</guid>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[exasol]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 09:26:54 GMT</pubDate>
            <atom:updated>2026-01-18T09:26:54.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*h0iTGRmupVX7kd874z4WxA.png" /></figure><h3>1. Introduction</h3><p>Recently, I got an opportunity to work on a <strong>POC as part of a UCI (Use Case Initiative)</strong>, where the objective was to explore <strong>secure, governed access to analytical data</strong> using modern protocols. As part of this engagement, I was asked to deep-dive into an analytical database that is not very commonly discussed in the market — <strong>Exasol</strong>.</p><p>Coming in as a <strong>subject matter expert for the data and analytics track</strong>, my responsibility was not just to evaluate performance, but also to understand how an analytical database can be safely integrated with modern tools and AI-driven systems <strong>without compromising enterprise security or governance</strong>.</p><p>This blog captures that journey — from understanding Exasol as a product, to implementing a secure MCP-based access layer on top of it.</p><h3>2. Business Problem Statement</h3><p>The business challenge that triggered this POC was very clear and practical.</p><h3>The Core Business Problem</h3><p>The organization had:</p><ul><li>Large volumes of analytical data</li><li>Multiple consumers (analytics teams, reporting tools, and emerging AI use cases)</li><li>Strict security and compliance requirements</li></ul><p>However, the existing challenges were:</p><ul><li><strong>Direct database access</strong> exposed sensitive data</li><li>Difficulties in controlling <em>how</em> data was queried</li><li>Risk of <strong>data leakage</strong> when integrating with AI or external systems</li><li>Performance bottlenecks with traditional analytical setups</li></ul><p>The business needed a solution that could:</p><ul><li>Deliver <strong>high-performance analytics</strong></li><li>Provide <strong>fine-grained, governed access</strong> to data</li><li>Enable future AI-driven use cases</li><li>Prevent raw data from being exposed outside enterprise boundaries</li></ul><h3>3. How Exasol Addressed the Business Problem</h3><p>Exasol played a key role in addressing these challenges by going <strong>deep into the business problem rather than just acting as a storage layer</strong>.</p><h3>How Exasol Helped</h3><ul><li><strong>High-performance analytical engine</strong> ensured complex queries ran in seconds</li><li>In-memory processing removed latency bottlenecks</li><li>Strong SQL support allowed business users to continue working with familiar patterns</li><li>Cloud deployment enabled rapid POC execution without infrastructure overhead</li></ul><p>Instead of forcing the business to redesign its analytics workflows, <strong>Exasol adapted to the business needs</strong>, providing speed, scalability, and flexibility.</p><p>Most importantly, Exasol acted as a <strong>trusted analytical backbone</strong>, making it possible to layer governance and security on top — which is where MCP came into the picture.</p><h3>2. What is Exasol?</h3><p><strong>Exasol</strong> is a <strong>high-performance, in-memory analytical database</strong> designed specifically for complex analytical workloads. It is known for:</p><ul><li>Extremely fast query performance</li><li>Massive parallel processing (MPP)</li><li>Advanced SQL support</li><li>Optimized compression and execution engine</li></ul><p>Exasol is often positioned as a competitor to <strong>Databricks SQL</strong> and <strong>Snowflake</strong>, particularly for <strong>pure analytical use cases</strong>.</p><h3>3. Exasol Deployment Models</h3><p>Exasol supports multiple deployment models:</p><h3>3.1 On-Premises</h3><ul><li>Installed within the customer’s data center</li><li>Suitable for strict compliance and regulatory requirements</li></ul><h3>3.2 Cloud (Used in this POC)</h3><ul><li>Fully managed cloud deployment</li><li>Faster onboarding and scalability</li><li>Ideal for POCs and innovation</li></ul><p>👉 This blog and POC are based entirely on the <strong>Exasol Cloud</strong> version.</p><h3>4. Prerequisites for Exasol Cloud POC</h3><p>Before starting the POC, the following prerequisites were identified to ensure a smooth setup and end-to-end validation.</p><h3>Core Prerequisites</h3><ul><li>A <strong>company-owned professional email ID</strong></li><li>Required to create a <strong>free / trial Exasol Cloud account</strong></li><li>Access to <strong>Exasol Cloud UI</strong></li><li>Used for database creation, query execution, and administration</li></ul><h3>MCP and Interaction Layer Prerequisites</h3><ul><li><strong>Claude AI Desktop Application</strong></li><li>Used as the primary interface to interact with the MCP server</li><li>Acts as the client through which governed queries are issued</li></ul><p><strong>MCP-compatible Interface (Desktop / Web / Cloud App)</strong></p><ul><li>Required to connect Claude AI to the MCP server</li><li>Enables secure, protocol-based communication instead of direct database access</li></ul><h3>Supporting Components</h3><ul><li>Local or cloud environment to run the <strong>MCP Server</strong></li><li>Network access between MCP Server and Exasol Cloud</li></ul><p>With these prerequisites in place, the POC environment was ready to validate <strong>secure, governed data access using Exasol and MCP</strong>.</p><h3>5. Understanding the Exasol User Interface</h3><p>The Exasol Cloud UI is clean and intuitive, allowing users to:</p><ul><li>Create and manage databases</li><li>Execute SQL queries</li><li>Monitor performance</li><li>Manage users and roles</li></ul><h3>Key UI Components</h3><ul><li>Database overview dashboard</li><li>SQL editor</li><li>User and role management</li><li>Monitoring and metrics</li></ul><h3>6. Creating a Sample Database and Running Queries</h3><p>As part of the POC, the first hands-on step is to create a <strong>sample database</strong>.</p><h3>Typical Flow</h3><ol><li>Create a database instance from the Exasol UI</li><li>Open the built-in SQL editor</li><li>Create sample tables</li><li>Insert sample data</li><li>Execute analytical queries</li></ol><p>This validates:</p><ul><li>Database connectivity</li><li>SQL execution capability</li><li>Readiness for MCP integration</li></ul><h3>7. Why MCP (Model Context Protocol)?</h3><p>Traditional database access approaches:</p><ul><li>Expose credentials</li><li>Allow unrestricted access</li><li>Increase data leakage risks when used with AI</li></ul><p><strong>MCP (Model Context Protocol)</strong> addresses these challenges by acting as a <strong>governed interface layer</strong> between applications and databases.</p><p>MCP ensures:</p><ul><li>Secure access</li><li>Controlled execution</li><li>Policy-driven data exposure</li></ul><h3>8. MCP Server Architecture with Exasol</h3><p>In this POC, the MCP Server acts as:</p><ul><li>A middleware layer</li><li>A secure gateway to Exasol</li><li>A governance enforcement point</li></ul><p>All database interactions happen <strong>through MCP</strong>, not directly against Exasol.</p><h3>Supported Interfaces</h3><ul><li>Claude UI</li><li>Web UI</li><li>Desktop application</li></ul><h3>9. Installing Exasol MCP Server</h3><p>Exasol provides an official <strong>GitHub repository</strong> for MCP integration.</p><h3>High-Level Installation Steps</h3><ol><li>Clone the Exasol MCP GitHub repository</li><li>Install required dependencies</li><li>Configure Exasol connection details</li><li>Start the MCP server</li><li>Validate successful startup</li></ol><h3>10. MCP Configuration and Parameters</h3><p>After installation, several configuration aspects must be reviewed:</p><h3>Key Configuration Areas</h3><ul><li>Exasol Cloud connection parameters</li><li>Authentication handling</li><li>Allowed query operations</li><li>MCP-specific metadata parameters</li></ul><h3>Cloud-Specific Parameters</h3><p>Certain parameters are specific to the cloud edition and control:</p><ul><li>Query scope</li><li>Result size</li><li>Metadata exposure</li></ul><h3>11. Querying Data via MCP Server</h3><p>Once MCP is configured:</p><ul><li>Queries are sent to MCP</li><li>MCP validates policies</li><li>Approved queries are executed on Exasol</li><li>Controlled results are returned</li></ul><p>This ensures <strong>secure and governed data access</strong> at all times.</p><h3>12. Security and Governance with MCP</h3><p>One of the strongest features of MCP is <strong>extensibility</strong>.</p><h3>Custom Security Tools</h3><p>Organizations can:</p><ul><li>Create custom tools</li><li>Attach them to MCP</li><li>Apply masking, filtering, or access rules</li></ul><p>This prevents:</p><ul><li>Unauthorized access</li><li>Data leakage</li><li>Uncontrolled AI consumption</li></ul><h3>13. Why This Matters</h3><p>Combining <strong>Exasol + MCP</strong> provides:</p><ul><li>High-performance analytics</li><li>Enterprise-grade security</li><li>AI-ready governance</li><li>No direct database exposure</li></ul><h3>14. Business Value</h3><p>From a business standpoint:</p><ul><li>Enables safe AI adoption</li><li>Maintains compliance</li><li>Protects sensitive data</li><li>Supports scalable analytics</li></ul><h3>15. Conclusion</h3><ul><li>Introduction to Exasol</li><li>Cloud-based Exasol POC</li><li>MCP Server setup and configuration</li><li>Secure and governed data access</li></ul><h3>Final Takeaway</h3><p><strong>MCP enables secure, governed access to Exasol data, making it ideal for analytics and AI use cases without exposing enterprise data to the outside world.</strong></p><p><em>This setup can be further extended with AI-driven query interfaces and enterprise governance patterns.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a942e0fb94ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modernizing Legacy Analytics to Databricks: A Complete Architectural Guide for Enterprise Migration]]></title>
            <link>https://medium.com/@mvkally/modernizing-legacy-analytics-to-databricks-a-complete-architectural-guide-for-enterprise-migration-54c93a9ab127?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/54c93a9ab127</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[azure-databricks]]></category>
            <category><![CDATA[databricks-migration]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 30 Nov 2025 13:56:08 GMT</pubDate>
            <atom:updated>2025-11-30T13:56:08.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Organizations moving from legacy data platforms to Databricks are not just replatforming — they are redesigning how data is ingested, processed, governed, and consumed. As a Data Architect, the key is to choose the right modernization strategy that balances speed, scalability, and business outcomes.</p><p>Below is a consolidated strategy covering <strong>three migration architectures</strong> and the <strong>metadata-driven automation framework</strong>.</p><h3>🏛️ Databricks Lakehouse — Foundation for Modern Migration</h3><p>Key pillars of the Databricks Lakehouse:</p><ul><li>Unified platform for ingestion, analytics, ML, streaming, and GenAI</li><li>Delta Lake as the ACID transactional storage format</li><li>Unity Catalog for centralized governance and lineage</li><li>Auto-scaling compute for performance and cost efficiency</li><li>Built-in integration for automation, CI/CD, and DevOps</li><li>Supports medallion-layered data modeling (Bronze → Silver → Gold)</li></ul><h3>Three Essential Migration Architectures</h3><p>Below are the three most commonly adopted approaches for migrating to Databricks.</p><h3>1️⃣ Lift &amp; Shift Migration (Fastest Rehosting Approach)</h3><p>Use this approach when:</p><ul><li>Legacy platforms are reaching end-of-life</li><li>Business has tight timelines for cloud migration</li><li>You need to rehost quickly without major redesign</li><li>You want to reuse existing SQL logic inside Databricks Spark SQL</li><li>Existing ETL (SSIS/ADF/other tools) is moved into Databricks Workflows</li></ul><p>Key points:</p><ul><li>Minimal redesign</li><li>Quick execution</li><li>Easy migration</li><li>Technical debt may occur and should be fixed later</li><li>Medallion and DQ framework can be added after migration</li></ul><h3>2️⃣ DLT-Based Modernization (Governed Pipeline Approach)</h3><p>Delta Live Tables (DLT) is ideal when:</p><ul><li>You want declarative ETL with less code</li><li>You need built-in data quality rules (Expectations)</li><li>You require automatic lineage</li><li>You need both streaming and batch support</li><li>You want a maintainable, scalable medallion architecture</li></ul><p>DLT drives:</p><ul><li>Bronze layer → Raw ingestion</li><li>Silver layer → Cleaned + standardized</li><li>Gold layer → Aggregated, ML-ready, analytics-ready datasets</li></ul><p>Key points:</p><ul><li>Declarative pipelines</li><li>Built-in DQ and SLA support</li><li>Automated orchestration</li><li>Best suited for continuous data ingestion architectures</li></ul><h3>3️⃣ Framework-Driven Modernization (Metadata + Automation)</h3><p>Use this when:</p><ul><li>You are migrating hundreds or thousands of tables</li><li>Manual ETL development is too slow</li><li>You need a scalable, repeatable, template-based pipeline</li><li>You want easy reprocessing and governance</li><li>You want to onboard new data sources with zero/low code</li></ul><p>Framework features:</p><ul><li>Centralized metadata (JSON/YAML)</li><li>Wrapper-driven execution</li><li>Consistency in schemas, DQ, and processing</li><li>Reuse across domains and environments</li><li>Future extensibility for ML, RAG, and GenAI</li></ul><h3>Metadata-Driven Ingestion &amp; Transformation Framework</h3><p>A metadata-driven framework allows you to avoid writing separate ingestion logic for each dataset. Everything runs using a <strong>single configuration file</strong>.</p><h3>Benefits:</h3><ul><li>One config file → Many tables processed</li><li>Faster migration and onboarding</li><li>Strong governance and consistency</li><li>Easy integration with DLT</li><li>Supports schema validation, DQ rules, FTS, and more</li></ul><h3>Example Metadata JSON</h3><pre>{<br>  &quot;pipeline_name&quot;: &quot;customer_ingestion&quot;,<br>  &quot;source&quot;: {<br>    &quot;type&quot;: &quot;csv&quot;,<br>    &quot;path&quot;: &quot;abfss://landing@adls.dfs.core.windows.net/customer/&quot;,<br>    &quot;delimiter&quot;: &quot;,&quot;,<br>    &quot;header&quot;: true<br>  },<br>  &quot;raw_target&quot;: &quot;lakehouse.sales_customer_bronze&quot;,<br>  &quot;clean_target&quot;: &quot;lakehouse.sales_customer_silver&quot;,<br>  &quot;load_type&quot;: &quot;append&quot;,<br>  &quot;schema_validation&quot;: true,<br>  &quot;deduplication_keys&quot;: [&quot;customer_id&quot;],<br>  &quot;fts_config&quot;: {<br>    &quot;enable_fts&quot;: true,<br>    &quot;primary_keys&quot;: [&quot;customer_id&quot;],<br>    &quot;hard_delete&quot;: false<br>  }<br>}</pre><h3>Wrapper Notebook Logic</h3><pre>config = json.load(open(&quot;/dbfs/metadata/customer_ingest.json&quot;))</pre><pre>df_raw = (spark.read.format(config[&quot;source&quot;][&quot;type&quot;])<br>          .option(&quot;header&quot;, config[&quot;source&quot;][&quot;header&quot;])<br>          .load(config[&quot;source&quot;][&quot;path&quot;]))</pre><pre>df_raw.write.format(&quot;delta&quot;).mode(&quot;append&quot;).saveAsTable(config[&quot;raw_target&quot;])</pre><pre>df_clean = df_raw.dropDuplicates(config.get(&quot;deduplication_keys&quot;, []))</pre><pre>if config[&quot;load_type&quot;] == &quot;truncate_and_load&quot;:<br>    spark.sql(f&quot;TRUNCATE TABLE {config[&#39;clean_target&#39;]}&quot;)</pre><pre>df_clean.write.format(&quot;delta&quot;).mode(&quot;append&quot;).saveAsTable(config[&quot;clean_target&quot;])</pre><h3>Consolidated Architectural Blueprint (Pointers Only)</h3><h3>Governance Layer:</h3><ul><li>Unity Catalog controls access, lineage, metadata, and auditing</li><li>Centralized management of schemas, tables, views, models, and functions</li><li>Ensures consistent governance across all workspaces</li></ul><h3>Ingestion Layer:</h3><ul><li>Auto Loader for incremental and schema-evolving ingestion</li><li>COPY INTO for batch file loads</li><li>Workflows for scheduling and orchestration</li><li>Supports both streaming and batch</li></ul><h3>Transformation Layer:</h3><ul><li>Medallion architecture with Bronze, Silver, and Gold</li><li>DLT pipelines for declarative ETL and quality rules</li><li>Metadata-driven logic for reusable code across multiple sources</li></ul><h3>Data Quality &amp; Processing:</h3><ul><li>Schema validation via metadata</li><li>Business rule checks</li><li>Deduplication and referential integrity</li><li>Data expectations when using DLT</li></ul><h3>Metadata Orchestration:</h3><ul><li>Config file controls ingestion, DQ, and transformation logic</li><li>Wrapper notebook reads metadata and executes steps</li><li>Enables Full Table Sync and Merge logic</li><li>Reduces development effort dramatically</li></ul><h3>Consumption Layer:</h3><ul><li>BI dashboards (Power BI, Databricks SQL)</li><li>ML/AI models using MLflow</li><li>RAG/GenAI workloads using vector search + structured data</li></ul><h3>When to Use Which Architecture</h3><h3>Use Lift &amp; Shift when:</h3><ul><li>You need quick cloud migration</li><li>Minimal redesign is acceptable</li><li>Legacy SQL needs to be reused</li></ul><h3>Use DLT Modernization when:</h3><ul><li>You want strong governance and lineage</li><li>You need built-in data quality rules</li><li>You want streaming + batch support</li></ul><h3>Use Metadata-Driven Framework when:</h3><ul><li>You have hundreds of tables to migrate</li><li>You need a fast, automated onboarding mechanism</li><li>You want future extensibility and consistent architecture</li></ul><p>Most enterprises follow this order:</p><ol><li>Lift &amp; Shift →</li><li>Introduce DLT →</li><li>Scale with Metadata Framework</li></ol><h3>Final Takeaway</h3><p>Migrating to Databricks is a strategic shift toward a governed, scalable, AI-ready architecture.</p><p>By combining:</p><ul><li>Lift &amp; Shift (speed)</li><li>DLT (governance + reliability)</li><li>Metadata-driven automation (scale + consistency)</li></ul><p>…organizations evolve from legacy platforms to a <strong>modern Lakehouse foundation</strong> capable of powering BI, ML, and GenAI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54c93a9ab127" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modernizing Legacy ETL with AI and Databricks: A Complete Migration Strategy]]></title>
            <link>https://medium.com/@mvkally/modernizing-legacy-etl-with-ai-and-databricks-a-complete-migration-strategy-153b943ab678?source=rss-8d5c8db66da0------2</link>
            <guid isPermaLink="false">https://medium.com/p/153b943ab678</guid>
            <category><![CDATA[databricks-ai]]></category>
            <category><![CDATA[data-migration]]></category>
            <category><![CDATA[databricks]]></category>
            <dc:creator><![CDATA[Kalyana Murugan M]]></dc:creator>
            <pubDate>Sun, 21 Sep 2025 09:36:42 GMT</pubDate>
            <atom:updated>2025-09-21T09:36:42.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*zc4G0_DObICRGqFLX1CImw.png" /></figure><p>I am currently working on a <strong>migration project</strong> where the existing environment is built on legacy ETL systems like <strong>Teradata</strong>, <strong>IBM DataStage</strong>, <strong>Perl scripts</strong>, and traditional <strong>Python ETL pipelines</strong>. As part of this initiative, we are moving the entire ecosystem into <strong>Databricks</strong>, modernizing both the data platform and ETL strategy. This blog captures my learnings, how AI can assist in code conversion, the strategic approach we are following, and how Databricks tools like <strong>Delta Live Tables (DLT)</strong> and <strong>Lakeflow</strong> can be leveraged for a future-ready architecture.</p><h3>1. Understanding the Existing Environment</h3><p>Most enterprises with a legacy setup have a mix of technologies:</p><ul><li><strong>Teradata</strong>: Widely used for data warehousing with objects such as tables, views, stored procedures, macros, and triggers.</li><li><strong>IBM DataStage</strong>: Classic ETL tool with jobs orchestrated in DSX/ISX formats.</li><li><strong>Perl &amp; Python Scripts</strong>: Often used for custom data extraction, transformation, and automation.</li><li><strong>Schedulers</strong>: Legacy schedulers, or in some modernized cases, <strong>Apache Airflow</strong> orchestrating jobs using <strong>DAGs (Directed Acyclic Graphs)</strong>.</li></ul><p>These environments work but come with challenges like vendor lock-in, maintenance overhead, performance bottlenecks, and lack of flexibility when scaling to modern data and AI workloads.</p><h3>2. How AI Tools Help in Migration</h3><p>AI/LLM-powered tools can dramatically reduce the manual effort required for migration:</p><ul><li><strong>Code Conversion</strong>: Convert legacy ETL logic (Perl scripts, SQL, DataStage jobs) into PySpark-based frameworks.</li><li><strong>DSX/ISX Parsing</strong>: Export DataStage jobs into DSX (text) or ISX (XML) format, then feed them into an AI model to generate equivalent PySpark transformations.</li><li><strong>SQL Modernization</strong>: Convert Teradata SQL scripts (DDL, DML, stored procedures) into PySpark or Databricks SQL.</li><li><strong>Pattern Recognition</strong>: Identify reusable transformation patterns and convert them into parameterized components in PySpark.</li><li><strong>Automation</strong>: Build rule-based conversion pipelines where repetitive ETL logic is translated automatically, and only exceptions are handled manually.</li></ul><p>This significantly speeds up migration and allows architects to focus on building the <strong>framework</strong> instead of re-writing every job manually.</p><h3>3. Strategic Migration Approach</h3><p>When planning the migration, the following structured approach works best:</p><h3>Step 1: Inventory &amp; Assessment</h3><ul><li>Extract a list of all objects (tables, views, stored procedures, macros) from Teradata.</li><li>Export DataStage jobs (DSX/ISX).</li><li>Collect existing Perl/Python scripts.</li></ul><h3>Step 2: Categorization</h3><ul><li><strong>Reusable Patterns</strong>: Joins, aggregations, lookups, SCDs, and CDC.</li><li><strong>Complex Transformations</strong>: Stored procedures with loops, conditional logic.</li><li><strong>Orchestration</strong>: Identify job dependencies.</li></ul><h3>Step 3: Framework Development</h3><ul><li>Build a <strong>parameterized PySpark framework</strong> that can handle configurable logic such as source-to-target mapping, incremental load, error handling, and auditing.</li><li>Create <strong>metadata-driven YAML/JSON configurations</strong> for ingestion and transformation rules.</li></ul><h3>Step 4: Leverage Databricks Components</h3><ul><li><strong>Delta Live Tables (DLT)</strong> for declarative ETL pipelines.</li><li><strong>Lakeflow</strong> for orchestrating pipelines in a low-code/no-code manner.</li></ul><h3>Step 5: Testing &amp; Validation</h3><ul><li>Implement automated validation frameworks to ensure data parity between source and migrated systems.</li><li>Use <strong>Airflow DAGs</strong> to automate test workflows and validation checks.</li></ul><h3>4. Choosing Between DLT and Custom Framework</h3><p>Not every use case fits into DLT directly. Here’s a practical way to decide:</p><h3>Use Delta Live Tables (DLT) for:</h3><ul><li><strong>Slowly Changing Dimensions (SCD)</strong>: DLT has built-in support for CDC/SCD patterns.</li><li><strong>Change Data Capture (CDC)</strong>: Auto-handling of incremental loads from sources.</li><li><strong>Data Quality Rules</strong>: Built-in expectations framework for validations.</li><li><strong>Streaming Data Pipelines</strong>: Auto-manages state, checkpointing, and recovery.</li><li><strong>Simple Declarative Pipelines</strong>: Where business logic maps well to SQL or PySpark transformations.</li></ul><h3>Use a Custom PySpark Framework for:</h3><ul><li><strong>Highly complex transformations</strong> that don’t map easily to declarative syntax.</li><li><strong>Advanced orchestration requirements</strong> that require conditional branching, looping, or dynamic workflows.</li><li><strong>Reusable utilities</strong> like encryption/decryption, external API calls, or ML model integration.</li><li><strong>Metadata-driven ingestion frameworks</strong> where jobs should be auto-generated from configuration.</li><li><strong>Integration with Airflow DAGs</strong> when orchestrating cross-platform or multi-system workflows.</li></ul><p>In many cases, enterprises adopt a <strong>hybrid model</strong>: use DLT where it shines, and complement it with a PySpark-based framework and <strong>Airflow orchestration</strong> for advanced needs.</p><h3>5. The Role of Lakeflow in Modern ETL</h3><p><strong>Lakeflow</strong> is Databricks’ new declarative orchestration engine, designed to unify ingestion, transformation, and workflow automation.</p><h3>Benefits of Lakeflow:</h3><ul><li><strong>Unified Ingestion</strong>: Supports batch and streaming sources natively.</li><li><strong>Declarative Pipelines</strong>: Define transformations without boilerplate code.</li><li><strong>Designer (Preview)</strong>: Graphical interface to design pipelines, automatically generating underlying code.</li><li><strong>Seamless Orchestration</strong>: Eliminates the need for external schedulers.</li><li><strong>Integration with DLT</strong>: Leverages DLT under the hood where applicable.</li></ul><p>Lakeflow is especially powerful when you want to provide a <strong>low-code interface</strong> for teams who are not PySpark experts but still need to manage pipelines.</p><h3>6. Benefits of Migrating to Databricks with AI + Framework</h3><ul><li><strong>Reduced Migration Effort</strong>: AI automates code conversion.</li><li><strong>Standardization</strong>: PySpark frameworks ensure reusable, parameterized logic.</li><li><strong>Governance</strong>: Unity Catalog provides security, lineage, and auditability.</li><li><strong>Performance</strong>: Auto-optimization with Photon, Delta Caching, and indexing.</li><li><strong>Future-readiness</strong>: Integration with ML, GenAI, and advanced analytics.</li><li><strong>Flexible Orchestration</strong>: Combine <strong>Airflow DAGs</strong> and <strong>Lakeflow pipelines</strong> for hybrid orchestration models.</li></ul><h3>7. Final Thoughts</h3><p>Migrating from <strong>Teradata + DataStage + Perl scripts</strong> to <strong>Databricks</strong> is more than a lift-and-shift — it’s a chance to modernize your ETL strategy. By combining <strong>AI-driven code conversion</strong> with a <strong>parameterized PySpark framework</strong>, and leveraging <strong>DLT</strong> for declarative pipelines and <strong>Lakeflow</strong> for orchestration, enterprises can:</p><ul><li>Accelerate migration.</li><li>Reduce manual effort.</li><li>Standardize and future-proof their data platform.</li></ul><p>This hybrid strategy ensures that you not only migrate successfully but also unlock the full potential of <strong>Databricks as a modern data &amp; AI platform</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=153b943ab678" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>