<?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 Shankar Subramanian on Medium]]></title>
        <description><![CDATA[Stories by Shankar Subramanian on Medium]]></description>
        <link>https://medium.com/@shankar.subbu?source=rss-7a7f98196de9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*w5V7sK2bjqmRowqy_VJTFg.jpeg</url>
            <title>Stories by Shankar Subramanian on Medium</title>
            <link>https://medium.com/@shankar.subbu?source=rss-7a7f98196de9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:14:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shankar.subbu/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[What Does Cortex Analyst Actually Know?]]></title>
            <link>https://medium.com/towards-data-engineering/what-does-cortex-analyst-actually-know-f0175c594358?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0175c594358</guid>
            <category><![CDATA[apache-ossie]]></category>
            <category><![CDATA[snowflake-cortex]]></category>
            <category><![CDATA[ontology]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[snowflake]]></category>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Fri, 21 Aug 2026 03:57:57 GMT</pubDate>
            <atom:updated>2026-08-26T13:47:36.939Z</atom:updated>
            <content:encoded><![CDATA[<h4>Declared Semantics, Runtime Inference, and Where Ontology Really Begins</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INAo9PzDPd5jvDOOytdqrQ.png" /></figure><p>When I started looking deeper into Snowflake Cortex Analyst, one question helped me write this article.</p><p>Suppose I create a Semantic View and explicitly provide:</p><ul><li>logical tables such as Customer, Transaction and Store</li><li>relationships between those entities</li><li>dimensions and facts</li><li>governed metrics such as Revenue</li><li>business filters</li><li>descriptions and synonyms</li><li>verified queries</li></ul><p>Then I ask:</p><blockquote><strong><em>“Show me revenue from active loyalty customers in Texas last month.”</em></strong></blockquote><p>Cortex Analyst can understand the question, identify the right entities, navigate relationships, apply metrics and generate SQL.</p><p>It feels like the system understands the business.</p><p>But what exactly did the AI figure out?</p><p>Did Cortex Analyst create an internal ontology from my Semantic View?</p><p>Did Snowflake transform those logical tables and relationships into a hidden knowledge graph?</p><p>Or is an LLM simply looking at metadata and making intelligent guesses?</p><p>After digging further into how Semantic Views, Cortex Analyst and Snowflake’s newer context architecture work, I think there is a cleaner way to think about it.</p><p>There are really <strong>three different forms of meaning</strong> involved:</p><blockquote><strong><em>The Semantic View declares what the business means.</em></strong></blockquote><blockquote><strong><em>Cortex Analyst interprets what the user means.</em></strong></blockquote><blockquote><strong><em>An ontology can describe what relationships between business concepts imply.</em></strong></blockquote><p>Keeping those three responsibilities separate makes the architecture much easier to understand.</p><h3>Start With What We Already Know</h3><p>Consider a typical enterprise model.</p><pre>DM_CUSTOMER<br>FACT_TRANSACTION<br>DM_STORE<br>DM_PRODUCT<br>LOYALTY_MEMBERSHIP</pre><p>At the physical level we might know:</p><pre>DM_CUSTOMER.CUSTOMER_ID<br>        |<br>        +------ FACT_TRANSACTION.CUSTOMER_ID<br><br>FACT_TRANSACTION.STORE_ID<br>        |<br>        +------ DM_STORE.STORE_ID</pre><p>A data engineer understands that model immediately.</p><p>An experienced analyst probably does as well.</p><p>And a modern LLM can infer quite a lot from names such as:</p><pre>CUSTOMER_ID<br>TRANSACTION_DATE<br>STORE_ID<br>REVENUE_AMOUNT<br>LOYALTY_STATUS</pre><p>But the physical schema still leaves some important questions unanswered.</p><p>What exactly is <strong>Revenue</strong>?</p><p>What makes someone an <strong>Active Customer</strong>?</p><p>Which date defines a sale?</p><p>What does <strong>Comparable Store</strong> mean?</p><p>Does Revenue mean gross sales, net sales, recognized revenue or something else?</p><p>Those are not schema questions.</p><p>They are questions about <strong>business meaning</strong>.</p><p>And that is precisely where the Semantic View becomes important.</p><h3>The Semantic View Is Not Just Metadata</h3><p>When we create a Semantic View, we aren’t merely exposing database objects with nicer names.</p><p>We are declaring a model of the business.</p><p>We might take:</p><pre>DM_CUSTOMER</pre><p>and represent it as:</p><pre>Customer</pre><p>Then define:</p><pre>Customer<br><br>Dimensions<br>-----------<br>Customer Name<br>Customer Segment<br>Loyalty Status<br>Relationships<br>-------------<br>Customer -&gt; Transaction</pre><p>For transactions:</p><pre>Transaction<br><br>Dimensions<br>-----------<br>Transaction Date<br>Channel<br>Transaction Type<br><br>Facts<br>-----<br>Transaction Amount<br>Quantity<br><br>Metrics<br>-------<br>Revenue<br>Transaction Count<br>Average Order Value</pre><p>And relationships:</p><pre>Customer<br>    |<br>    v<br>Transaction<br>    |<br>    +------&gt; Store<br>    |<br>    +------&gt; Product</pre><p>Snowflake describes Semantic Views as schema-level objects for modeling business concepts over data, including logical tables, dimensions, facts, metrics and relationships. They are designed to give analytical systems a business-oriented representation instead of forcing them to work directly against physical schemas. (<a href="https://docs.snowflake.com/en/user-guide/views-semantic/semantic-view-yaml-spec?utm_source=chatgpt.com">Snowflake Documentation</a>)</p><p>This leads to what I think is the first important architectural conclusion:</p><blockquote><strong><em>Cortex Analyst does not need to create another hidden Semantic Business Model underneath the Semantic View. The Semantic View is already the persisted analytical business model.</em></strong></blockquote><p>I find it useful to think of that Semantic View as a <strong>semantic contract</strong>.</p><p>The enterprise is telling the system:</p><blockquote><em>This is what Customer means.<br>This is how Customer relates to Transaction.<br>This is our definition of Revenue.<br>These are valid dimensions.<br>These are approved filters.<br>These are examples of questions we already know how to answer.</em></blockquote><p>The LLM doesn’t need to rediscover all of this.</p><p>We have already declared it.</p><h3>Who Creates That Semantic Contract?</h3><p>This is an important part that sometimes disappears in AI demonstrations.</p><p><strong>The organization creates it.</strong></p><p>In practice, different parts of the Semantic View will usually come from different owners:</p><pre>BUSINESS KNOWLEDGE<br><br>Data Architect<br>              |<br>        Analytics Engineer<br>              |<br>          Domain SME<br>              |<br>         Data Governance<br>              |<br>              v<br>        SEMANTIC VIEW<br>              |<br>     +--------+---------+<br>     |        |         |<br>  Entities  Metrics  Relationships<br>     |        |         |<br> Dimensions Filters  Join Paths<br>     |<br> Synonyms / Descriptions<br>     |<br> Verified Queries</pre><p>Snowflake can assist significantly with this process.</p><p>Semantic View Autopilot can use existing metadata and other signals to help generate candidate semantic definitions.</p><p>But an automatically proposed definition and an enterprise-approved business definition are not the same thing.</p><p>That distinction matters enormously.</p><p>For example, AI might correctly discover:</p><pre>Customer.customer_id<br>      joins<br>Transaction.customer_id</pre><p>But it cannot determine with authority that:</p><pre>Active Customer =<br>at least one qualifying purchase<br>during the previous 365 days</pre><p>unless that definition exists somewhere that the system can use.</p><p>That definition belongs to the business.</p><p>So:</p><blockquote><strong><em>AI can help discover candidate semantics. The enterprise still owns business truth.</em></strong></blockquote><h3>Now the Interesting Part: What Does Cortex Analyst Infer?</h3><p>Once the Semantic View exists, the problem changes.</p><p>Suppose the user asks:</p><blockquote><strong><em>“Show revenue from active loyalty customers in Texas last month.”</em></strong></blockquote><p>The semantic layer might already contain:</p><pre>Metric:<br>Revenue<br><br>Logical Entities:<br>Customer<br>Transaction<br>Store<br><br>Dimension:<br>Customer.Loyalty_Status<br><br>Dimension:<br>Store.State<br><br>Dimension:<br>Transaction.Transaction_Date<br><br>Relationships:<br>Customer -&gt; Transaction<br>Transaction -&gt; Store</pre><p>The user did not say:</p><pre>Use metric transaction.total_revenue.<br><br>Filter customer.loyalty_status.<br><br>Filter store.state = &#39;TX&#39;.<br><br>Use transaction.transaction_date<br>for the previous calendar month.</pre><p>They spoke naturally.</p><p>Cortex Analyst therefore still has an important job.</p><p>It must interpret:</p><pre>&quot;revenue&quot;<br>     |<br>     v<br>Revenue metric<br></pre><pre>&quot;loyalty customers&quot;<br>     |<br>     v<br>Customer / Loyalty Status<br></pre><pre>&quot;Texas&quot;<br>     |<br>     v<br>Relevant geography<br></pre><pre>&quot;last month&quot;<br>     |<br>     v<br>Relevant temporal dimension</pre><p>It then maps those concepts onto the semantic model and constructs the query.</p><p>Conceptually:</p><pre>USER LANGUAGE<br>      |<br>      v<br>&quot;Revenue from active loyalty customers<br> in Texas last month&quot;<br>      |<br>      v<br>CORTEX ANALYST<br>      |<br>      +-- intent interpretation<br>      |<br>      +-- concept matching<br>      |<br>      +-- metric selection<br>      |<br>      +-- temporal interpretation<br>      |<br>      +-- relationship navigation<br>      |<br>      v<br>SEMANTIC VIEW<br>      |<br>      v<br>Semantic SQL / SQL<br>      |<br>      v<br>SNOWFLAKE</pre><p>I would call this:</p><h3>Runtime Semantic Interpretation</h3><p>This is where much of the apparent intelligence comes from.</p><p>But runtime semantic interpretation is not the same thing as creating a persistent ontology.</p><h3>Declared Semantics vs. Inferred Semantics</h3><p>This distinction is the mental model I now use.</p><h3>Declared Semantics</h3><p>Things the enterprise should tell the system explicitly:</p><pre>Customer</pre><pre>Transaction</pre><pre>Store</pre><pre>Revenue</pre><pre>Average Order Value</pre><pre>Customer -&gt; Transaction</pre><pre>Transaction -&gt; Store</pre><pre>Active Customer</pre><pre>Comparable Store Sales</pre><p>These are business definitions.</p><p>They should be governed.</p><p>They should be reviewable.</p><p>They should ideally survive whichever AI model happens to consume them.</p><h3>Inferred Semantics</h3><p>Things an LLM is well suited to resolve dynamically:</p><pre>&quot;sales&quot; -&gt; Revenue</pre><pre>&quot;members&quot; -&gt; Customers with membership context</pre><pre>&quot;last month&quot; -&gt; temporal interpretation</pre><pre>&quot;Texas stores&quot; -&gt; Store geography</pre><pre>&quot;best stores&quot; -&gt; likely ranking intent</pre><p>This is linguistic interpretation.</p><p>It is context-dependent.</p><p>And this is where probabilistic reasoning is extremely valuable.</p><p>The boundary matters because not all ambiguity is the same.</p><h3>Let the LLM Infer Intent. Don’t Make It Invent Business Truth.</h3><p>Consider the phrase:</p><blockquote><strong><em>“Active Customer”</em></strong></blockquote><p>One retailer might define an active customer as someone who purchased during the previous 365 days.</p><p>Another may use 90 days.</p><p>A bank may use account status.</p><p>A SaaS company may use product activity.</p><p>A loyalty program could require both membership status and purchase activity.</p><p>All are reasonable interpretations.</p><p>Only one is your company’s definition.</p><p>So this:</p><pre>&quot;sales&quot;<br>   |<br>   v<br>Revenue</pre><p>may be a reasonable inference.</p><p>But this:</p><pre>&quot;active customer&quot;<br>   |<br>   v<br>Purchased within exactly 365 days</pre><p>should not simply be invented by the LLM.</p><p>That gives us, in my opinion, one of the most important design principles for conversational analytics:</p><blockquote><strong><em>The LLM should infer user intent. It should not invent business truth.</em></strong></blockquote><h3>Metadata Provides Vocabulary. Semantics Provide Truth.</h3><p>This is why I think the argument that “good column names make Cortex Analyst smart” only tells part of the story.</p><p>Good metadata is valuable.</p><pre>CUSTOMER_ID<br>LOYALTY_STATUS<br>REVENUE_AMOUNT<br>STORE_ID<br>TRANSACTION_DATE</pre><p>provides powerful linguistic clues.</p><p>But ask:</p><blockquote><em>“What were comparable-store sales?”</em></blockquote><p>and metadata quickly reaches its limit.</p><p>Now we need to understand:</p><ul><li>which stores qualify</li><li>how long a store must have been operating</li><li>which fiscal periods should be compared</li><li>whether temporarily closed stores are excluded</li><li>which revenue measure is used</li><li>how acquisitions or remodels are handled</li></ul><p>That is business logic.</p><p>A useful hierarchy therefore looks like:</p><pre>Metadata<br>   |<br>   v<br>Vocabulary</pre><pre>Relationships<br>   |<br>   v<br>Structure</pre><pre>Metrics / Filters<br>   |<br>   v<br>Business Truth</pre><pre>LLM<br>   |<br>   v<br>Interpretation</pre><p>That is much closer to what reliable conversational analytics requires.</p><h3>Where Does Ontology Actually Begin?</h3><p>This is where the conversation becomes particularly interesting in 2026.</p><p>Semantic Views clearly contain entities and relationships.</p><p>Structurally, we can draw them as a graph:</p><pre>CUSTOMER<br>                 |<br>                 v<br>            TRANSACTION<br>             /       \<br>            v         v<br>        PRODUCT      STORE<br>           |<br>           v<br>        CATEGORY</pre><p>But a graph-shaped semantic model is not automatically a full enterprise knowledge graph or ontology.</p><p>A richer ontology might represent:</p><pre>Electronic Component<br>        |<br>        +-- Capacitor<br>        |<br>        +-- Resistor<br>        |<br>        +-- Integrated Circuit</pre><p>And relationships such as:</p><pre>Component<br>   manufactured_by<br>        Supplier</pre><pre>Supplier<br>   located_in<br>        Country</pre><pre>Country<br>   member_of<br>        Trade Region</pre><p>Together with:</p><ul><li>concept hierarchies</li><li>typed relationships</li><li>synonym equivalence</li><li>subclass relationships</li><li>transitive relationships</li><li>constraints</li><li>canonical identifiers</li><li>cross-domain concepts</li></ul><p>Now a question such as:</p><blockquote><em>“Show total spend across all electronic components.”</em></blockquote><p>may require reasoning that <strong>Electronic Component includes Capacitors, Resistors, ICs and many other subclasses</strong>.</p><p>That is a different problem from simply determining how Customer joins Transaction.</p><p>Snowflake’s own May 2026 engineering work makes this distinction especially clear. Its ontology-grounded Cortex Agent experiment starts with a Semantic View as the governed relational baseline and then adds knowledge graphs and ontology-aware techniques for hierarchy, synonym and domain-specific reasoning that the semantic layer alone may not capture.</p><p>That gives us a useful separation:</p><pre>SEMANTIC VIEW<br>       |<br>       v<br>&quot;What does this analytical<br> data mean?&quot;</pre><pre>Entities<br>Metrics<br>Dimensions<br>Relationships<br>Filters<br></pre><pre>ONTOLOGY / RELATIONSHIP LAYER<br>       |<br>       v<br>&quot;What else follows from<br> these concepts?&quot;</pre><pre>Hierarchy<br>Identity<br>Subclass<br>Equivalence<br>Transitivity<br>Domain Rules</pre><p>So I would not describe Cortex Analyst as secretly maintaining an ontology.</p><p>A better description is:</p><blockquote><strong><em>Cortex Analyst performs relationship-aware analytical reasoning over a governed Semantic View. A formal ontology can become an additional context layer when richer domain reasoning is required.</em></strong></blockquote><p>Snowflake’s own engineering architecture now explicitly treats those as complementary rather than identical concepts.</p><h3>This Leads to a Three-Level Model of Enterprise Meaning</h3><p>I now think there are three useful levels to distinguish.</p><h3>Level 1 — Physical Meaning</h3><pre>Tables<br>Columns<br>Keys<br>Data Types</pre><p>Question answered:</p><blockquote><strong><em>Where does the data live?</em></strong></blockquote><h3>Level 2 — Analytical Business Meaning</h3><pre>Customer<br>Product<br>Revenue<br>Margin<br>Dimensions<br>Metrics<br>Relationships<br>Filters</pre><p>Question answered:</p><blockquote><strong><em>How does the business analyze the data?</em></strong></blockquote><p>This is where Semantic Views primarily operate.</p><h3>Level 3 — Domain Knowledge</h3><pre>Hierarchies<br>Taxonomies<br>Identity<br>Cross-domain relationships<br>Policies<br>Concept inheritance<br>Constraints<br>Terminology</pre><p>Question answered:</p><blockquote><strong><em>How do concepts relate across the broader enterprise domain?</em></strong></blockquote><p>This is where ontologies, knowledge graphs and broader context layers become increasingly valuable.</p><p>Not every analytical question requires Level 3.</p><p>And that is important.</p><p>Enterprises may not need to build a massive knowledge graph before they can create useful conversational analytics.</p><p>But as questions become increasingly cross-domain and agentic, Level 3 becomes much more significant.</p><h3>Verified Queries Add Something Different: Grounded Experience</h3><p>There is another form of knowledge that doesn’t fit neatly into either metadata or ontology.</p><p>Experience.</p><p>Suppose users frequently ask:</p><blockquote><em>“What were comparable-store sales in the Northeast last quarter?”</em></blockquote><p>and the company already has approved SQL representing the correct calculation.</p><p>Snowflake lets teams associate known questions with verified SQL inside Semantic Views. Verified Queries are explicitly intended to improve Cortex Analyst accuracy and trustworthiness.</p><p>Conceptually:</p><pre>Business Question<br>       |<br>       v<br>Known-Correct SQL<br>       |<br>       v<br>Verified Query<br>       |<br>       v<br>Grounding for Similar Questions</pre><p>Now the system has more than definitions.</p><p>It has examples of how the enterprise correctly applies those definitions.</p><p>This is similar to how a new analyst learns.</p><p>First you explain the business.</p><p>Then you show them previously validated analyses.</p><h3>The Semantic Model Can Now Learn From Usage</h3><p>This creates an interesting feedback loop.</p><pre>Semantic View<br>      |<br>      v<br>Cortex Analyst<br>      |<br>      v<br>Real Business Questions<br>      |<br>      v<br>Validated Answers<br>      |<br>      v<br>Verified Queries<br>      |<br>      v<br>Identify Missing Semantics<br>      |<br>      v<br>Improve Semantic View<br>      |<br>      +------------------+<br>                         |<br>                         v<br>                  Better Analyst</pre><p>The semantic layer therefore doesn’t need to be a static artifact created once during implementation.</p><p>It can evolve as the organization discovers:</p><ul><li>missing synonyms</li><li>missing metrics</li><li>ambiguous definitions</li><li>incomplete relationships</li><li>frequent SQL fallbacks</li><li>recurring user terminology</li></ul><p>The important requirement is governance.</p><p>AI can propose improvements.</p><p>Humans should remain accountable for deciding when those proposals become business truth.</p><h3>Semantic SQL Makes the Boundary Even Clearer</h3><p>Snowflake’s current Cortex Analyst Routing Mode provides another useful architectural clue.</p><p>Routing Mode attempts to generate <strong>Semantic SQL first</strong>. Metrics, joins and filters can therefore come directly from governed Semantic View definitions.</p><p>If the request cannot be satisfied through the Semantic View, Cortex Analyst can fall back to standard SQL over physical tables. Snowflake currently notes that only about 10% of queries aggregate to Semantic SQL, with the number varying based on the coverage provided by the Semantic View.</p><p>Conceptually:</p><pre>Business Question<br>       |<br>       v<br>Can governed semantics<br>answer the question?<br>       |<br>   +---+---+<br>   |       |<br>  YES      NO<br>   |       |<br>   v       v<br>Semantic  Standard<br>   SQL      SQL</pre><p>This creates an interesting design goal.</p><pre>Richer Semantic Coverage<br>          |<br>          v<br>More Governed Query Logic<br>          |<br>          v<br>Less Business Logic<br>Invented at Runtime<br>          |<br>          v<br>More Predictable Analytics</pre><p>For enterprise AI, that is probably desirable.</p><p>We don’t necessarily want an increasingly creative SQL generator.</p><p>We want a system that is flexible about language but conservative about business definitions.</p><h3>And Snowflake’s Direction Is Moving Beyond a Single Semantic View</h3><p>This conversation becomes even more relevant with Snowflake’s introduction of <strong>Horizon Context</strong> in June 2026.</p><p>Snowflake describes Horizon Context as a governed context layer intended to collect, enrich and activate business context for AI, BI and applications. The goal is increasingly to make definitions, metadata and relationships reusable across multiple consumers rather than burying business meaning inside individual dashboards, prompts or applications.</p><p>That changes the architectural picture from:</p><pre>Semantic View<br>      |<br>      v<br>Cortex Analyst</pre><p>toward something broader:</p><pre>GOVERNED CONTEXT<br>                        |<br>          +-------------+-------------+<br>          |             |             |<br>          v             v             v<br>     Semantic       Ontology /     Policies &amp;<br>      Models        Relationships   Provenance<br>          |             |             |<br>          +-------------+-------------+<br>                        |<br>              +---------+---------+<br>              |         |         |<br>              v         v         v<br>            BI       Analyst    Agents</pre><p>Snowflake’s March 2026 discussion of the “Agent Context Layer” makes essentially this larger argument: semantic models are crucial, but trustworthy enterprise agents ultimately need additional context around identity, relationships, policies, procedures and provenance.</p><p>This is where the conversation moves beyond text-to-SQL.</p><h3>The Durable Asset May Not Be Cortex Analyst</h3><p>There is another architectural signal I find particularly interesting.</p><p>In April 2026, Snowflake changed how Cortex Agents interact with analytical Semantic Views.</p><p>For Cortex Agents configured with Cortex Analyst Semantic Views, the Agent can now generate SQL directly instead of invoking Cortex Analyst as a separate SQL-generation service. The external tool configuration remains largely the same, but the runtime boundary changed.</p><p>Think about what that implies.</p><p>Previously, the mental model might have been:</p><pre>Agent<br>   |<br>   v<br>Cortex Analyst<br>   |<br>   v<br>Semantic View<br>   |<br>   v<br>SQL</pre><p>Now the implementation can look more like:</p><pre>Agent<br>   |<br>   +---- Semantic View<br>   |<br>   +---- Reasoning<br>   |<br>   +---- SQL Generation<br>   |<br>   v<br>Snowflake</pre><p>The SQL generator changed.</p><p>The <strong>semantic asset remained</strong>.</p><p>That is significant.</p><p>It suggests the durable architecture may increasingly be:</p><blockquote><strong><em>Governed business context first. AI runtime second.</em></strong></blockquote><p>Models will change.</p><p>Agents will change.</p><p>Query-generation techniques will change.</p><p>The definition of Revenue should not.</p><h3>Apache Ossie Makes That Point Even Stronger</h3><p>The semantic layer is also beginning to move beyond individual vendors.</p><p>The Open Semantic Interchange initiative was accepted into the Apache Incubator in July 2026 under the name <strong>Apache Ossie</strong>. Its goal is an interoperable specification for semantic models across AI and BI systems. Snowflake now provides preview capabilities for creating Semantic Views from Ossie-formatted YAML.</p><p>That suggests an important direction:</p><pre>BUSINESS MEANING<br>                        |<br>                        v<br>             Portable Semantic Model<br>                        |<br>        +---------------+---------------+<br>        |               |               |<br>        v               v               v<br>   Cortex Analyst    BI Tools       AI Agents</pre><p>If this direction continues, the semantic model becomes less like configuration for a specific BI tool and more like an enterprise asset in its own right.</p><p>That may ultimately be much more important than whichever LLM is generating SQL this year.</p><h3>My Updated Mental Model</h3><p>After looking at the architecture this way, I would summarize Cortex Analyst through five layers.</p><h3>1. Physical Data</h3><pre>Tables<br>Columns<br>Keys<br>Views<br>Data Types</pre><p><strong>Where is the data?</strong></p><h3>2. Declared Analytical Semantics</h3><pre>Logical Tables<br>Dimensions<br>Facts<br>Metrics<br>Relationships<br>Filters<br>Descriptions<br>Synonyms<br>Instructions</pre><p><strong>What does the business mean?</strong></p><p>This is primarily the Semantic View.</p><h3>3. Grounded Examples</h3><pre>Verified Questions<br>        +<br>Known-Correct SQL</pre><p><strong>How has the enterprise correctly answered similar questions before?</strong></p><h3>4. Runtime Semantic Interpretation</h3><pre>User Question<br>      |<br>      v<br>Intent Interpretation<br>Concept Matching<br>Metric Selection<br>Temporal Resolution<br>Relationship Navigation<br>      |<br>      v<br>SQL</pre><p><strong>What does this user mean right now?</strong></p><p>This is where the LLM earns its place.</p><h3>5. Broader Domain Context</h3><p>Where needed:</p><pre>Ontology<br>Knowledge Graph<br>Identity Mapping<br>Policies<br>Procedures<br>Provenance<br>Cross-domain Relationships</pre><p><strong>What else follows from these concepts and relationships?</strong></p><p>This becomes increasingly relevant as we move from conversational BI toward enterprise agents.</p><h3>So, What Does Cortex Analyst Actually Know?</h3><p>Maybe <strong>know</strong> is the wrong word.</p><p>The system has several different sources of context.</p><p>The enterprise declares some knowledge.</p><p>Snowflake stores and governs that context.</p><p>Verified queries ground it with examples.</p><p>The LLM dynamically interprets natural language against it.</p><p>And richer ontology or context layers can extend reasoning where analytical semantics alone are insufficient.</p><p>The resulting intelligence is therefore distributed:</p><pre>Enterprise Domain Knowledge<br>             |<br>             v<br>       Semantic View<br>             |<br>             v<br>       Governed Context<br>             |<br>             +<br>       LLM Reasoning<br>             |<br>             +<br>     Verified Examples<br>             |<br>             v<br>      Analytical Answer</pre><p>There isn’t necessarily a hidden ontology behind Cortex Analyst making everything work.</p><p>The architecture is arguably more interesting than that.</p><h3>The Bigger Architectural Shift</h3><p>For years, enterprises concentrated on making data available.</p><p>We built:</p><ul><li>warehouses</li><li>lakehouses</li><li>catalogs</li><li>pipelines</li><li>transformation frameworks</li><li>BI platforms</li></ul><p>Yet enormous amounts of enterprise meaning remained trapped elsewhere:</p><ul><li>SQL written by senior analysts</li><li>Power BI measures</li><li>Tableau calculations</li><li>Confluence documentation</li><li>Excel formulas</li><li>process documents</li><li>tribal knowledge</li><li>people’s heads</li></ul><p>Generative AI exposes that gap.</p><p>A model can be excellent at reasoning and still give the wrong answer if the organization’s meaning is missing.</p><p>That changes the role of metadata and semantics.</p><p>Metadata is no longer just documentation for people.</p><p><strong>It is context for machines.</strong></p><p>Metrics aren’t simply reusable calculations.</p><p><strong>They constrain AI reasoning.</strong></p><p>Relationships aren’t simply joins.</p><p><strong>They define valid analytical pathways.</strong></p><p>Verified queries aren’t merely examples.</p><p><strong>They ground probabilistic reasoning in known truth.</strong></p><p>Ontologies aren’t just academic knowledge representations.</p><p><strong>They become useful when agents need to reason across deeper relationships and domain hierarchies.</strong></p><p>And semantic models are no longer just BI configuration.</p><p><strong>They are becoming durable enterprise AI assets.</strong></p><h3>Final Thought</h3><p>I began with a relatively narrow question:</p><blockquote><strong><em>When I give Cortex Analyst logical tables and relationships in a Semantic View, what does it create underneath?</em></strong></blockquote><p>My conclusion is that the more interesting architecture is not underneath the Semantic View.</p><p>It is the boundary around it.</p><p><strong>The Semantic View declares what the business means.</strong></p><p><strong>Cortex Analyst interprets what the user means.</strong></p><p><strong>An ontology can describe what relationships between business concepts imply.</strong></p><p>Those responsibilities should not be collapsed into one vague claim that “the AI understands the business.”</p><p>And that gives us a practical design principle:</p><blockquote><strong><em>Let the LLM infer intent.<br>Declare business truth.<br>Add deeper ontology only where the domain requires it.</em></strong></blockquote><p>As enterprise AI evolves from answering questions to making decisions and taking actions, this distinction will become even more important.</p><p>We spent the last decade making enterprise data <strong>queryable</strong>.</p><p>The next challenge is making enterprise meaning <strong>machine-readable, governed and portable</strong>.</p><p>The semantic layer is rapidly becoming one of the key pieces of infrastructure for getting there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0175c594358" width="1" height="1" alt=""><hr><p><a href="https://medium.com/towards-data-engineering/what-does-cortex-analyst-actually-know-f0175c594358">What Does Cortex Analyst Actually Know?</a> was originally published in <a href="https://medium.com/towards-data-engineering">Towards Data Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enterprise AI Doesn’t Have an Adoption Problem. It Has a Value mapping Problem.]]></title>
            <link>https://medium.com/@shankar.subbu/enterprise-ai-doesnt-have-an-adoption-problem-it-has-a-value-mapping-problem-f0aba071c9a2?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0aba071c9a2</guid>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Mon, 17 Aug 2026 02:44:36 GMT</pubDate>
            <atom:updated>2026-08-17T02:44:36.844Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qh48UOYBqS3Bft-aQMBbsA.png" /></figure><p>I’ve been thinking about how enterprises are actually adopting AI — not just experimenting with it.</p><p>The technology conversation has moved incredibly fast.</p><p>We started with copilots. Then conversational analytics. Now almost every discussion seems to involve agents.</p><p>But underneath all of this, I see a much simpler enterprise transition:</p><p><strong>Assist me → Reason with me → Act for me</strong></p><p>And with every step, both the <strong>potential business value and the governance responsibility increase.</strong></p><p>McKinsey’s 2025 State of AI research shows how real this gap is: 88% of respondents said their organizations regularly use AI in at least one business function, yet most are still early in scaling AI and capturing enterprise-wide value.</p><p>So perhaps the next enterprise AI question should not be:</p><p><strong>“How many AI use cases have we deployed?”</strong></p><p>It should be:</p><p><strong>“What became faster, cheaper, better — or newly possible — because of AI?”</strong></p><p>I see this playing out across three layers.</p><h3>1. AI for Decisions — Bringing Agents Closer to Data</h3><p>For years, business intelligence has largely worked like this:</p><p><strong>Data → Dashboard → Analyst → Business Decision</strong></p><p>Conversational analytics is beginning to compress that cycle.</p><p>The emerging model looks more like:</p><p><strong>Enterprise Data → Semantic Business Context → AI → Decision</strong></p><p>The semantic layer is the important part.</p><p>An LLM by itself doesn’t understand what <em>fill rate, inventory availability, transportation cost, late shipment or supplier performance</em> specifically mean inside an enterprise.</p><p>We need to give AI governed domain context.</p><p>Take supply chain.</p><p>Instead of navigating multiple dashboards, a leader could ask:</p><p><strong>“Why did transportation cost increase last week?”</strong></p><p>Then:</p><p><strong>“Which distribution centers contributed most?”</strong></p><p><strong>“Was it volume, carrier rates or expedited shipments?”</strong></p><p>This is where conversational BI becomes interesting.</p><p>But the ROI shouldn’t be:</p><p><em>“We had 15,000 AI conversations this month.”</em></p><p>It should be:</p><p><strong>Did time-to-insight decrease?</strong></p><p><strong>Did analyst dependency decrease?</strong></p><p><strong>Were business decisions made faster?</strong></p><p>And ultimately:</p><p><strong>Did those faster decisions improve inventory, transportation cost, service level or another operating KPI?</strong></p><h3>2. AI for Delivery — From Copilots to Engineering Agents</h3><p>The second shift is already very visible.</p><p>Copilot, Codex, Claude Code, Genie Code, CoCo and similar capabilities are moving engineering from:</p><p><strong>“Help me write this code.”</strong></p><p>toward:</p><p><strong>“Understand the problem, build it, test it and help me deliver it.”</strong></p><p>For IT leaders, I don’t think the most interesting question is:</p><p><strong>“Can AI reduce engineering headcount?”</strong></p><p>A better question is:</p><p><strong>Can the same organization deliver significantly more without scaling resources at the same rate?</strong></p><p>Can releases move faster?</p><p>Can repetitive engineering work disappear?</p><p>Can teams support more platforms?</p><p>Can production quality improve?</p><p>Can operational issues self heal?</p><p>Can engineers spend more time solving business problems instead of writing boilerplate?</p><p>Deloitte’s 2026 State of AI in the Enterprise gives an interesting perspective here. Among organizations reporting AI benefits, <strong>66% cite productivity and efficiency gains, 53% improved insights and decision-making, and 40% reduced costs.</strong></p><p>That gap between <strong>productivity improvement and actual cost realization</strong> is worth paying attention to.</p><p>It also brings another discipline into the picture:</p><p><strong>AI FinOps.</strong></p><p>Organizations will need visibility into token consumption, model usage, agent loops, organizational usage and role-based limits.</p><p>But tokens shouldn’t become the business KPI.</p><p>I would rather measure:</p><p><strong>Cost per successfully completed outcome.</strong></p><p>For conversational analytics:</p><p><strong>Cost per resolved business question.</strong></p><p>For engineering:</p><p><strong>Cost per production-ready change.</strong></p><p>For agents:</p><p><strong>Cost per successfully completed business transaction.</strong></p><p>Optimize tokens, yes.</p><p>But optimize <strong>business economics first.</strong></p><h3>3. AI for Execution — When Agents Start Doing the Work</h3><p>The third layer is where things become much more interesting.</p><p>Traditional workflow automation is generally deterministic:</p><p><strong>If A happens → execute B → validate C → notify D</strong></p><p>Agentic workflows introduce reasoning:</p><p><strong>Observe → Understand → Plan → Execute → Validate → Recover or Escalate</strong></p><p>Consider a failed enterprise data pipeline.</p><p>Traditional automation may retry three times and create an incident.</p><p>An agent could potentially inspect the logs, classify the failure, compare it with previous incidents, choose an approved remediation, restart from a safe checkpoint, validate the output and escalate only when confidence is low.</p><p>That starts to look like <strong>self-healing operations</strong>.</p><p>And this is where the enterprise conversation changes.</p><p>Once AI moves from <strong>recommending an action to actually taking an action</strong>, autonomy becomes a governance issue.</p><h3>So, is the AI Governance Council slowing adoption?</h3><p>Sometimes.</p><p>But I don’t think the problem is governance itself.</p><p>The problem is governance designed purely as a committee.</p><p>If every AI experiment has to wait weeks for approval, innovation will slow down.</p><p>At the same time, giving an agent unrestricted authority over production systems, financial decisions or sensitive enterprise data isn’t responsible innovation either.</p><p>Perhaps governance should follow the same maturity model:</p><p><strong>Assist → lighter controls</strong></p><p><strong>Reason/Recommend → validation and traceability</strong></p><p><strong>Act → permissions, observability, auditability, thresholds and human oversight</strong></p><p>Governance should become the <strong>paved road for enterprise AI — not the toll booth.</strong></p><h3>The bigger ROI question</h3><p>This is where I think enterprise AI programs need to become more disciplined.</p><p>Before deploying AI, establish the baseline.</p><p>Then measure five things:</p><p><strong>Business outcome</strong> — What operating KPI changed?</p><p><strong>Productivity</strong> — What happened to cycle time and throughput?</p><p><strong>Adoption</strong> — Are people actually incorporating AI into their work?</p><p><strong>Quality &amp; Risk</strong> — What happened to errors, rework and exceptions?</p><p><strong>AI Unit Economics</strong> — What does each successfully completed outcome cost?</p><p>Then compare:</p><p><strong>Before AI → AI Assisted → AI at Scale</strong></p><p>That gives leadership something much more meaningful than:</p><p><em>“We processed 40 million tokens.”</em></p><p>Imagine instead saying:</p><p><strong>“38% of routine analytics questions are now resolved without analyst intervention, average time-to-insight fell from six hours to eleven minutes, and each successfully resolved question costs us $1.70.”</strong></p><p>Now AI becomes a business conversation.</p><p>I see the enterprise AI maturity curve becoming increasingly clear:</p><p><strong>Assist me.</strong></p><p><strong>Reason with me.</strong></p><p><strong>Act for me.</strong></p><p>Copilots can create quick wins.</p><p>Conversational AI can accelerate decisions.</p><p>Agents can redesign how work gets executed.</p><p>But deploying the technology is only the first step.</p><p><strong>Sustainable AI ROI will come when enterprises redesign workflows around these capabilities — and start measuring the economics of completed work rather than the amount of AI being consumed.</strong></p><p>That, to me, is the next phase of enterprise AI adoption.</p><p><strong>References:</strong><br>McKinsey &amp; Company — <em>The State of AI in 2025: Agents, Innovation, and Transformation</em><br>Deloitte — <em>The State of AI in the Enterprise 2026</em></p><p>#EnterpriseAI #AgenticAI #GenerativeAI #AIROI #AIGovernance #DataAI #DataEngineering #ConversationalAI #AIAgents #DigitalTransformation</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0aba071c9a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Episode 3: A Closer Look at Features That Matter (Part 3)]]></title>
            <link>https://medium.com/@shankar.subbu/episode-3-a-closer-look-at-features-that-matter-part-3-3f86e77c2db8?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f86e77c2db8</guid>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Fri, 21 Mar 2025 04:13:11 GMT</pubDate>
            <atom:updated>2025-03-21T04:13:11.311Z</atom:updated>
            <content:encoded><![CDATA[<p>In <a href="https://medium.com/@shankar.subbu/can-databricks-snowflake-co-exist-in-an-enterprise-cf22ac87790e">Episode 3 (Part 1)</a>, we explored whether Databricks and Snowflake can co-exist in the same enterprise data ecosystem.<br> In <a href="https://medium.com/@shankar.subbu/episode-2-a-deep-dive-into-databricks-vs-snowflake-0a53e1ea7363">Episode 3 (Part 2)</a>, we dove into their architectural philosophies and how they serve different personas — data engineers, data scientists, and analysts.</p><p>Now in <strong>Episode 3 (Part 3)</strong>, it’s time to get more tactical. This article highlights <strong>key platform features</strong> that influence real-world implementations — especially when you’re managing <strong>data pipelines, governance, machine learning, and visualization at scale</strong>.</p><p>I’ll walk through a few important areas where platform differences start to shape decisions:</p><ul><li><strong>Snowpark ML vs MLflow</strong> — What’s the right fit for your data science workflows?</li><li><strong>Snowflake Cortex vs Databricks Mosaic </strong>— GenAI at Enterprise Scale</li><li><strong>Snowflake Streams &amp; Tasks vs Databricks Workflows</strong> — Automating with intent.</li><li><strong>Streamlit vs Databricks Dashboards</strong> — Visualizing insights with speed.</li><li><strong>Data Governance, Security, Quality &amp; Observability</strong> — How both platforms approach operational excellence.</li></ul><p><strong>Snowpark ML vs MLflow</strong></p><p>Snowflake’s <strong>Snowpark ML</strong> and Databricks’ <strong>MLflow</strong> offer two different approaches to operationalizing machine learning.</p><ul><li><strong>Snowpark ML</strong> is a newer player, aiming to bring model training and inference closer to the data with native SQL and Python support — great for analysts and teams already invested in Snowflake.</li><li><strong>MLflow</strong>, born within the Databricks ecosystem, has matured as an <strong>open-source MLOps tool</strong> with robust model tracking, packaging, and deployment capabilities. It’s widely adopted beyond Databricks too.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*6SlmoFstbMYC1c1OSKsXxQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0w_6fKVacFEfMj1NRCCYLg.png" /></figure><h3><strong>Snowflake Cortex vs Databricks Mosaic</strong></h3><p>The next wave of data platforms goes beyond storage and pipelines — it’s about AI-native infrastructure. Both Snowflake and Databricks are making bold moves here with:</p><p><strong>Snowflake Cortex:</strong> A newly launched set of prebuilt <strong>LLM-powered</strong> functions, including sentiment analysis, text summarization, and document AI. It’s optimized for low-code/no-code usage directly in SQL or worksheets — ideal for analysts and BI teams who want AI without complex engineering.</p><p><strong>Databricks Mosaic:</strong> An open, customizable <strong>GenAI platform</strong> focused on training, fine-tuning, and serving open-source models. Mosaic gives data scientists full control, backed by strong MLOps support and vector search integration with Unity Catalog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*jsBTFDhh2qT_9NmWuTC7kw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ovNffULQbfKKZf8urEMGmw.png" /></figure><h3>Snowflake Streams &amp; Tasks vs Databricks Workflows</h3><p>When it comes to automating data pipelines:</p><ul><li><strong>Snowflake’s Streams &amp; Tasks</strong> provide a <strong>declarative, SQL-driven approach</strong> to building incremental pipelines.</li><li><strong>Databricks Workflows</strong> offer a <strong>more flexible, code-based orchestration</strong> layer for notebooks, scripts, and pipelines, making it better suited for complex jobs involving Python or ML.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*fOCq9BOpfbNG5zYa8A-izA.png" /></figure><h3>Streamlit vs Databricks Dashboards — Fast Visualization Matters</h3><ul><li><strong>Streamlit</strong> (now owned by Snowflake) makes it easy to build interactive data apps using Python.</li><li><strong>Databricks SQL Dashboards</strong> are great for quick visual insights directly on Delta tables.<br> Both are fast, but Streamlit offers <strong>more flexibility</strong> if you’re building custom visualizations or lightweight apps.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*ZudPRa5_TI6ZNzR69PmlcA.png" /></figure><h3>Governance, Security, Quality &amp; Observability</h3><p>Here’s a detailed comparison of how <strong>Snowflake</strong> and <strong>Databricks</strong> approach <strong>Data Governance, Security, Data Quality, and Observability</strong>, including their <strong>out-of-the-box capabilities</strong> and reliance on <strong>external tools</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*ouF9tc8zU4Wop0PIOcfwrg.png" /></figure><h3>Conclusion: It’s Not About Choosing Sides — It’s About Choosing the Right Fit</h3><p>As enterprises mature in their data journey, the conversation is no longer just <em>Databricks vs. Snowflake</em>. It’s about understanding how each platform aligns with your <strong>organizational goals, team strengths, and long-term data strategy</strong>.</p><p>Snowflake continues to lead with <strong>ease of use</strong>, <strong>governance-ready architecture</strong>, and expanding <strong>AI/ML capabilities</strong> via Cortex. Databricks, on the other hand, remains a powerhouse for <strong>engineering-first workflows</strong>, <strong>deep ML integrations</strong>, and <strong>flexibility through open standards</strong>.</p><p>The real power lies in using the right tool for the right job:</p><ul><li>Snowflake for governed, SQL-centric, and BI-driven use cases</li><li>Databricks for advanced data engineering, machine learning, and exploratory analytics</li></ul><p>As the lines blur and both platforms evolve toward similar capabilities, <strong>co-existence is not only possible — it’s practical</strong>.</p><p>The key to success? Establish <strong>clear data ownership</strong>, <strong>define roles across the stack</strong>, and invest in <strong>cross-platform observability and governance</strong> to maintain visibility and control across your data estate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f86e77c2db8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Episode 3: A Deep Dive into Databricks vs. Snowflake (Part 2)]]></title>
            <link>https://medium.com/@shankar.subbu/episode-2-a-deep-dive-into-databricks-vs-snowflake-0a53e1ea7363?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a53e1ea7363</guid>
            <category><![CDATA[data-warehouse]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[databricks]]></category>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Thu, 20 Feb 2025 17:02:28 GMT</pubDate>
            <atom:updated>2025-03-21T02:55:49.947Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0JhKErn4XG8IAn05" /></figure><p>In the first episode, we explored the complementary roles of <strong>Databricks and Snowflake</strong> in enterprise data ecosystems. <strong>Databricks</strong> excels in <strong>data processing, machine learning, and managing large-scale unstructured data</strong> through its <strong>lakehouse architecture</strong>. Meanwhile, <strong>Snowflake</strong> stands out as a powerful <strong>data warehousing solution</strong>, optimized for <strong>structured data</strong> and <strong>complex analytical queries</strong>. We also touched on the journey and evolution of both platforms.</p><p>In this episode, we will take a <strong>deep dive into multiple dimensions of comparison</strong>, focusing on the following key topics:</p><ul><li><strong>Architecture</strong> — <strong>Medallion Architecture</strong> (Databricks) vs. <strong>Snowflake Data Warehouse</strong></li><li><strong>Foundational Services</strong> — <strong>Snowflake Cloud Services</strong> vs. <strong>Databricks Unity Catalog</strong></li><li><strong>Data Ingestion Frameworks</strong> — <strong>Databricks Auto Loader</strong> vs. <strong>Snowflake Snowpipe</strong></li><li><strong>Data Sharing</strong> — <strong>Snowflake Secure Data Sharing</strong> vs. <strong>Databricks Delta Sharing</strong></li><li><strong>Data Migration Tools</strong> — <strong>SnowConvert and BladeBridge</strong></li><li><strong>Cloning Capabilities</strong> —<strong> Zero-Copy Cloning in Snowflake vs. Databricks shallow and deep clones</strong></li><li><strong>Compute Environments</strong> — <strong>Databricks Lakehouse Compute</strong> vs. <strong>Snowflake Virtual Warehouses</strong></li></ul><blockquote><strong>Architecture</strong> — M<strong>edallion Architecture vs. Snowflake Data Warehouse</strong></blockquote><p>Both Medallion Architecture and Snowflake Data Warehouse are used for managing and processing data, but they serve different purposes and are based on different architectural principles. Below is a detailed comparison:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*mN2roSTUQ6xOUhm7dP0EAQ.png" /></figure><blockquote><strong>Snowflake Cloud Services vs. Databricks Unity Catalog</strong></blockquote><p>Both <strong>Snowflake Cloud Services</strong> and <strong>Databricks Unity Catalog</strong> provide <strong>data governance, metadata management, and access control</strong>, but they serve different purposes within their respective ecosystems. Here’s a detailed comparison:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*UKQ_mNEfrmYhFZeeKAkD_w.png" /></figure><blockquote><strong>Data Ingestion Frameworks — Databricks Auto Loader vs. Snowflake Snow-pipe</strong></blockquote><p>Both <strong>Databricks Auto Loader</strong> and <strong>Snowflake Snow-pipe</strong> provide <strong>continuous and scalable data ingestion</strong> from cloud storage. However, they have key differences in how they handle <strong>real-time streaming, schema evolution, and cost efficiency</strong>. Here’s a detailed comparison:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hyWnG_K9G_KKaSKYZXJ2IQ.png" /></figure><blockquote><strong>Snowflake Data Sharing vs. Databricks Delta Sharing</strong></blockquote><p>Both <strong>Snowflake Data Sharing</strong> and <strong>Databricks Delta Sharing</strong> allow secure, real-time data sharing, but they are designed for different ecosystems and use cases. Here’s a detailed comparison:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*l_xU74QS9yNY-c8-glCeYA.png" /></figure><blockquote><strong>Data Migration Tools — Snow-Convert and BladeBridge</strong></blockquote><p>Databricks Acquires BladeBridge Technology and Talent to Accelerate Data Warehouse Migrations. Snow-Convert and BladeBridge are both tools designed to help with data migration and code conversion, but they have different strengths and focus areas. Here’s a comparison of the two:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*77RkzTwjELeC9fSMQOLugQ.png" /></figure><blockquote><strong>Cloning Capabilities — Zero-Copy Cloning in Snowflake vs. Databricks shallow and deep clones</strong></blockquote><p>Cloning is a powerful feature in <strong>both Snowflake and Databricks</strong>, but they handle it differently. <strong>Snowflake</strong> provides <strong>zero-copy cloning</strong>, while <strong>Databricks</strong> supports <strong>shallow and deep clones</strong> in Delta Lake. Below is a detailed comparison.</p><p><strong>Snowflake Cloning: Zero-Copy Cloning</strong> — Uses metadata-only cloning (copy-on-write)<br>Databricks Cloning: Shallow vs. Deep Clone<br><strong>Shallow Clone:</strong> Only references existing data (no data copy, similar to Snowflake cloning).<br><strong>Deep Clone:</strong> Copies all data to a new location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*KoKRdFQ4PKR59_Z_toCQGg.png" /></figure><blockquote><strong>Compute Environments — Databricks Lakehouse Compute vs. Snowflake Virtual Warehouses</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lvc_hMvq2arpqDdZEGEaIw.png" /></figure><p><strong>Episode 2</strong> of the series provides a deep dive into key aspects of Databricks and Snowflake, comparing their architecture (Medallion vs. Data Warehouse), data governance (Unity Catalog vs. Cloud Services), ingestion frameworks (Auto Loader vs. Snowpipe), compute environments, data migration tools (SnowConvert, BladeBridge), data-sharing mechanisms (Delta Sharing vs. Snowflake Data Sharing), and cloning capabilities. The analysis highlights how both platforms cater to different enterprise needs while evolving to offer overlapping functionalities.</p><p><strong>Episode 3</strong> will explore the AI and ML capabilities of Databricks and Snowflake, highlighting their support for advanced analytics, model training, and deployment. Additionally, I’ll share my unique perspective in the closing notes, wrapping up the detailed comparison with insights on their future trajectories in the evolving data landscape. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a53e1ea7363" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Episode 3: Can Databricks & Snowflake Co-exist in an enterprise? (Part 1)]]></title>
            <link>https://medium.com/@shankar.subbu/can-databricks-snowflake-co-exist-in-an-enterprise-cf22ac87790e?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf22ac87790e</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[snowflake]]></category>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Thu, 20 Feb 2025 00:22:43 GMT</pubDate>
            <atom:updated>2025-03-21T02:55:09.927Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O-Ajf1Cdm8rsk8jn" /></figure><p>The debate between Databricks and Snowflake is a well-discussed topic in the industry, with many experts sharing their perspectives. However, most discussions tend to favor one platform over the other, often emphasizing certain features while overlooking how they can coexist.</p><p>If both platforms offer similar tools and features while catering to the same audience, why do enterprises invest in both? What are the associated overheads? What unique advantages does each bring to the table?</p><p>This article aims to provide an unbiased comparison of Snowflake and Databricks — exploring their features, product offerings, the use cases they support, and the value they deliver to enterprises. The goal is to bridge the gaps in existing discussions and present a balanced perspective on how these platforms compete and complement each other.</p><h3>A Look at Their Evolution</h3><p>To fairly compare both platforms, we must look back a decade to understand their journey and evolution to the present day.</p><p><strong>Introduction</strong></p><p><strong>Databricks: A Cloud-Based Analytics and Data Processing Platform</strong></p><p>Databricks is a cloud-based analytics and data processing platform built on a strong foundation of open-source technology and academic research. At its core lies Apache Spark, one of the world’s largest open-source projects, developed to handle a wide variety of data processing tasks efficiently.</p><p>Apache Spark’s extensive open-source community ensures continuous innovation and adaptability to the ever-evolving demands of big data processing. Spark can manage various data sources and processing methods, supporting both streaming and batch processing. It harnesses distributed computing on commodity machines — a staple in cloud environments — with built-in resiliency, horizontal scaling, and support for advanced analytics like graph processing, text analysis, and scalable machine learning.</p><p>Beyond Spark, Databricks has pioneered the Lakehouse paradigm by developing <strong>Delta Lake</strong>, an open-source data lake table format. Delta Lake allows users to access data through files using Python, Scala, and R, or via tables using SQL, bridging the gap between data lakes and data warehouses. Recognizing that effective machine learning requires more than just a unified engine, Databricks also introduced <strong>MLflow</strong>, an open-source platform for managing the end-to-end machine learning lifecycle.</p><p>To further enhance performance, Databricks added the <strong>Photon engine</strong> — a high-performance query engine — offering blazing-fast SQL analytics and virtual warehousing capabilities.</p><p><strong>Snowflake: A Cloud-Based Data Warehousing Platform</strong></p><p>Snowflake began its journey by simplifying cloud-based data warehousing. Its platform quickly gained traction by offering seamless scalability, elasticity, and ease of use for managing structured and semi-structured data. However, as the data landscape evolved, Snowflake expanded its ambitions beyond traditional data warehousing.</p><p>In a bid to enter the realms of data science, ETL, machine learning, and streaming, Snowflake has introduced a series of add-on solutions. One of its most notable additions is <strong>Snowpark</strong>, which aims to bring native support for data engineering, data science, and machine learning workloads into Snowflake’s ecosystem.</p><p>While Snowflake is making strides to expand its capabilities, the platform’s roots remain firmly planted in data warehousing. As it ventures into new territories, the question arises: Can Snowflake truly match the versatility and open-source momentum of Databricks?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*BPFerh06QITHv6vJ_lByKg.png" /></figure><p><strong>Conclusion: Can we conclude here??</strong></p><p>The answer is <strong>NO</strong> — at least, not in a straightforward way. Both platforms are in an intense race to dominate the evolving data warehousing, machine learning, and AI landscape. Over the last few years, they have rapidly expanded their capabilities, bundling attractive features to cater to modern enterprise needs.</p><p>However, this competition isn’t limited to just Databricks and Snowflake. The three cloud giants — <strong>AWS, Azure, and GCP</strong> — are also in the mix, leveraging their vast ecosystems to integrate and bundle native <strong>data engineering, AI, and ML tools</strong> into their platforms. This adds another layer of complexity to the market, shaping the future of enterprise data platforms.</p><p>In the next episode, I’ll dive deeper into how Databricks and Snowflake have evolved in recent years and how this fierce competition is reshaping the industry. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf22ac87790e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Episode 2 — Data Processing Framework (Part 2)]]></title>
            <link>https://medium.com/@shankar.subbu/episode-2-data-processing-framework-part-2-bf7f8ee1fac5?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf7f8ee1fac5</guid>
            <category><![CDATA[data-transformation]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-processing]]></category>
            <category><![CDATA[fivetran]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Wed, 19 Feb 2025 16:07:47 GMT</pubDate>
            <atom:updated>2025-02-19T16:07:47.290Z</atom:updated>
            <content:encoded><![CDATA[<h3>Episode 2 — Data Processing Framework (Part 2)</h3><p>With traditional ETL tools becoming outdated, modern tools are emerging with features that better support current warehouse and lake house infrastructures. Below is a comparative overview table highlighting key attributes of some popular data processing tools. Furthermore in the below story I will be talking about an in-house data processing framework that covers the specific organizational requirements, infrastructure, and expertise that is flexible with custom features from the below list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KQvI-bd1WAIIqoX8fjmMBQ.png" /></figure><p><strong>Summary:</strong></p><ul><li><strong>Apache Hop:</strong> Flexible open-source ETL/ELT solution with a visual approach and plugin extensibility. Requires more configuration but is highly customizable.</li><li><strong>Fivetran:</strong> A fully managed, easy-to-use ELT pipeline solution focusing on automated data ingestion with minimal transformation capabilities.</li><li><strong>AWS Glue:</strong> A serverless ETL/ELT service tightly integrated with the AWS ecosystem, suitable for AWS-centric architectures.</li><li><strong>dbt:</strong> An ELT tool focusing on in-warehouse SQL transformations, ideal for modern cloud data warehousing and CI/CD-driven analytics engineering.</li><li><strong>Talend:</strong> A comprehensive data integration platform with robust ETL capabilities, data quality, and governance features, suitable for large enterprises.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf7f8ee1fac5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Episode 2 — ETL Vs ELT (Part 1)]]></title>
            <link>https://medium.com/@shankar.subbu/episode-2-etl-vs-elt-part-1-85eb217053ae?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/85eb217053ae</guid>
            <category><![CDATA[data-processing]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[data-warehouse]]></category>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Wed, 18 Dec 2024 05:33:44 GMT</pubDate>
            <atom:updated>2024-12-19T14:50:22.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>Episode 2 — Data Processing Framework — ETL Vs ELT (Part 1)</h3><pre>       +-------------------+               +-------------------+<br>       |   Source Systems  |               |   Source Systems  |<br>       +---------+---------+               +---------+---------+<br>                 |                                 |<br>                 | Extract                         | Extract<br>                 |                                 |<br>                 v                                 v<br>          +------+-------+                       +------+-------+<br>          | Transform    |                       |     Load     |<br>          | (Outside DW) |                       | (Raw Data)   |<br>          +------+-------+                       +------+-------+<br>                 |                                 |<br>                 | Load                            |<br>                 v                                 |<br>       +---------+---------+                       v<br>       |   Data Warehouse  |             +---------+---------+<br>       |  (Already Cleaned)|             |    Data Warehouse  |<br>       |   &amp; Transformed   |             |(Transforms happen) |<br>       +-------------------+             |      Inside DW     |<br>                                         +---------+----------+<br>                                                   |<br>                                            Transform on-demand<br>                                                   |<br>                                                   v<br>                                          +---------+---------+<br>                                          |  Business-Ready   |<br>                                          |    Data Views     |<br>                                          +-------------------+</pre><h3>ETL (Extract, Transform, Load)</h3><h4>What is ETL?</h4><p>ETL is a process where:</p><ul><li><strong>Extract</strong>: Data is extracted from the source system.</li><li><strong>Transform</strong>: The data is transformed (cleaned, enriched, aggregated, etc.) in a dedicated ETL tool or integration server before it is loaded.</li><li><strong>Load</strong>: Transformed data is then loaded into the target system (typically a data warehouse or database).</li></ul><p>Transformation is typically done in a middle layer using tools like DataStage or Informatica.</p><h4>Ideal Scenario for ETL</h4><ul><li>This approach is effective for traditional systems where both the source and target databases are relational.</li></ul><h4>Limitations of ETL</h4><ul><li><strong>Scalability</strong>: Traditional ETL tools are not designed for distributed platforms, meaning they struggle to handle large volumes of data.</li><li><strong>Batch Processing</strong>: ETL is optimal for batch processing rather than real-time data flows.</li><li><strong>Limited Flexibility</strong>: Changes in data requirements may necessitate significant rework in the ETL pipeline.</li><li><strong>Long Development Cycles</strong>: ETL requires upfront work to define transformations, schemas, and other structured data components.</li></ul><h4>Advantages of ETL</h4><ul><li><strong>Data Quality Assurance</strong>: Only cleaned and validated data is loaded into the warehouse.</li><li><strong>Data Warehouse-Ready</strong>: Data models are well-defined, making the data query able for analytics right after loading.</li></ul><h3>ELT (Extract, Load, Transform)</h3><h4>What is ELT?</h4><p>In contrast to ETL, ELT involves:</p><ul><li><strong>Extract</strong>: Data is extracted from the source system.</li><li><strong>Load</strong>: The data is loaded directly into the target system (such as a Cloud data warehouse or lake house).</li><li><strong>Transform</strong>: Transformations are applied after loading, leveraging the computational power of the target system.</li></ul><h4>Ideal Scenario for ELT</h4><ul><li>ELT works best in modern, scalable, distributed environments (such as cloud-based systems) where the transformation process leverages the processing power of the target system.</li></ul><h4>Advantages of ELT</h4><ul><li><strong>Scalability</strong>: Modern cloud data warehouses and lake houses can scale compute power to handle large-scale transformations efficiently.</li><li><strong>Faster Iteration</strong>: It’s easier to accommodate changes in analytics needs, new data sources, or evolving business logic, as raw data is always available.</li><li><strong>Cost and Complexity</strong>: The ELT pipeline is often simpler than traditional ETL processes and is generally more cost-effective in cloud environments.</li></ul><h4>Limitations of ELT</h4><ul><li><strong>Data Governance and Quality</strong>: Since transformations are applied after loading, ensuring data quality can be more complex. Quality checks must be integrated later in the pipeline.</li></ul><h3>When to Use ETL:</h3><ul><li><strong>Stable Data Requirements</strong>: When the data source and transformation rules are well understood and won’t change often.</li><li><strong>Regulated Environments</strong>: When strict control and validation of data before loading is needed.</li><li><strong>On-Premises Systems</strong>: When using traditional data warehousing setups without scalable cloud compute resources.</li></ul><h3>When to Use ELT:</h3><ul><li><strong>Cloud-Native Environments</strong>: When using cloud platforms capable of handling large-scale data processing in the database.</li><li><strong>Agile Analytics Needs</strong>: When business logic, data sources, or analytical requirements change rapidly.</li><li><strong>Data Lakes and Lake-houses</strong>: When dealing with raw, semi-structured, and unstructured data at scale.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85eb217053ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gen-Alpha Data Engineering Journey]]></title>
            <link>https://medium.com/@shankar.subbu/gen-z-data-engineering-journey-ff79ebde38b6?source=rss-7a7f98196de9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff79ebde38b6</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Shankar Subramanian]]></dc:creator>
            <pubDate>Thu, 12 Dec 2024 21:23:40 GMT</pubDate>
            <atom:updated>2024-12-16T17:22:49.916Z</atom:updated>
            <content:encoded><![CDATA[<p>This series explores modern data engineering design patterns, architectures, and frameworks, highlighting their practical applications. Reflecting on these topics, I realized two key insights:</p><ol><li><strong>Depth and Context</strong>: Each topic has far more depth and a broader context than it might initially seem.</li><li><strong>Unique Perspective Through Implementation</strong>: Hands-on application provides a unique perspective, and articulating concepts from practice enhances understanding and sparks further exploration.</li></ol><h3>Episode 1: Setting the Stage</h3><p>This episode offers an overview of what will be covered throughout the series. While many topics may sound familiar, the perspectives shared will be rooted in my hands-on experiences, offering a fresh dimension to each subject.</p><p>In today’s technology landscape, data is the most valuable resource. This series will explore various facets of working with data, such as:</p><ul><li>Design patterns</li><li>Architectures</li><li>Frameworks</li><li>Practical implementations</li></ul><p>The inspiration for this series stems from a recent setback that prompted me to prepare for the next chapter in my career. During this process, I encountered a wide range of topics that not only broadened my understanding but also reignited my enthusiasm for the field. My hope is that this series will serve as a valuable resource for others on a similar career path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8nZ8UzCtnI51izLzIyuUQ.png" /></figure><h3>Topics to Explore:</h3><ul><li><strong>ETL vs ELT</strong>: Exploring the differences, when to use each, and the pros and cons.</li><li><strong>Data Mesh (Decentralized) vs Data Fabric (Centralized)</strong>: Understanding the key differences and how they impact data architecture.</li><li><strong>Kappa vs Lambda Architecture</strong>: A comparison of these two data processing models.</li><li><strong>Medallion Architecture/Well-Designed Data Layer Architecture Platform</strong>: An in-depth look at how data layer design affects performance and scalability.</li><li><strong>Considerations for Choosing an Architecture</strong>: Key factors in selecting an architecture for various business use cases.</li></ul><h3>Key Layers in Data Architecture:</h3><ol><li><strong>Data Ingestion Layer</strong>: Managing the flow of data into the system.</li><li><strong>Data Storage Layer</strong>: Strategies for efficient and scalable data storage.</li><li><strong>Data Processing Layer</strong>: Methods for processing and transforming data.</li><li><strong>Data Consumption Layer (Analytics, Reporting, Query Layer)</strong>: Optimizing data for analysis and decision-making.</li></ol><h3>Data Platform Components:</h3><ul><li><strong>Orchestration</strong>: Tools and techniques for managing workflows.</li><li><strong>Observability</strong>: Ensuring visibility and monitoring of data pipelines.</li><li><strong>Governance</strong>: Managing data access, quality, and security.</li><li><strong>Catalog</strong>: Organizing and tracking data assets.</li><li><strong>Data Quality</strong>: Ensuring the accuracy, completeness, and consistency of data.</li><li><strong>Cost Reporting/Monitoring</strong>: Managing and optimizing costs in data platforms.</li><li><strong>CI/CD</strong>: Continuous integration and deployment practices for data engineering.</li></ul><h3>Advanced Data Engineering Concepts:</h3><ul><li><strong>ML/AI Platform</strong>: Infrastructure and tools for machine learning and AI model development.</li><li><strong>Model Development Environment</strong>: Best practices for building machine learning models.</li><li><strong>ML Model Inferencing &amp; Deployment Framework</strong>: Frameworks for deploying and inferring models in production environments.</li><li><strong>Gen AI Deployment Framework</strong>: Understanding the frameworks for deploying generative AI models.</li><li><strong>Feature Store &amp; Model Registry</strong>: Managing features for machine learning model development and inference.</li></ul><p>Stay tuned as we delve into these topics, bridging theory and practice with actionable insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff79ebde38b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>