<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Community Articles topics</title>
    <link>https://community.databricks.com/t5/community-articles/bd-p/Knowledge-Sharing-Hub</link>
    <description>Community Articles topics</description>
    <pubDate>Fri, 27 Nov 2026 10:37:26 GMT</pubDate>
    <dc:creator>Knowledge-Sharing-Hub</dc:creator>
    <dc:date>2026-11-27T10:37:26Z</dc:date>
    <item>
      <title>Planning Oracle CDC into Databricks? Check These Limitations Before You Start</title>
      <link>https://community.databricks.com/t5/community-articles/planning-oracle-cdc-into-databricks-check-these-limitations/m-p/177379#M1987</link>
      <description>&lt;P&gt;Is the Native CDC Connector Enough for Enterprise Migrations?&lt;/P&gt;&lt;P&gt;At first glance, the Databricks Oracle ingestion connector looks like exactly what enterprise data teams want: managed ingestion, built-in change data capture (CDC), and direct delivery into Delta Lake. Fewer moving parts, less custom code, and faster time to value.&lt;/P&gt;&lt;P&gt;But during Oracle modernization programs, architecture decisions are rarely driven by the happy path. A handful of platform constraints can determine whether the native connector becomes your strategic ingestion standard or whether you need a more specialized CDC approach. After reviewing the connector capabilities against common enterprise Oracle deployments, several practical considerations stand out.&lt;/P&gt;&lt;P&gt;The connector supports Oracle Database 12c through 26ai, including both single-instance and multitenant (CDB/PDB) environments. Organizations running Oracle 11g or older will need an upgrade path before considering the connector. For many customers, that is straightforward. The more important question is how the Oracle environment is deployed.&lt;/P&gt;&lt;P&gt;The biggest architectural checkpoint is Oracle RAC (Real Application Clusters). RAC remains a standard deployment pattern across large enterprises because it provides high availability and horizontal scale. It is especially common in Exadata environments. From a CDC perspective, RAC introduces complexity because each participating node generates its own redo thread. A CDC engine must continuously read, reconcile, and correctly sequence transactions across all threads before publishing changes downstream. If ordering is reconstructed incorrectly, the target system can receive an inaccurate representation of the source table state.&lt;/P&gt;&lt;P&gt;According to Databricks documentation, the native Oracle connector does not currently support RAC. That single limitation can become a decisive factor for enterprises planning large-scale migrations. If your production Oracle footprint runs on RAC or Exadata with RAC enabled, alternative CDC technologies such as Oracle GoldenGate, Qlik Replicate, or Fivetran become more appropriate options. A common pattern is to land CDC files into cloud storage and then use Databricks Auto Loader to ingest them into Delta tables.&lt;/P&gt;&lt;P&gt;Another frequently encountered enterprise design pattern is Oracle Data Guard. Many organizations intentionally run reporting workloads and downstream data extraction against a standby database to reduce impact on production systems. Because physical standby databases are not supported by the native connector, teams must carefully evaluate the operational impact of reading changes directly from the primary database.&lt;/P&gt;&lt;P&gt;Oracle Autonomous Database introduces a different challenge. CDC solutions typically require access to transaction logs and elevated privileges. In Autonomous Database environments, Oracle abstracts much of that infrastructure away, limiting the access needed by log-based CDC technologies. As a result, the native connector is not currently a fit for Autonomous Database sources.&lt;/P&gt;&lt;P&gt;Schema analysis is equally important. Several Oracle data types, including XMLTYPE, JSON, Spatial data types, and BFILE columns, are not supported for CDC capture. Large Object (LOB) columns such as CLOB, BLOB, and NCLOB also deserve careful evaluation. These limitations are easy to overlook during planning and often surface late in migration programs when validation testing begins. For that reason, a data type assessment should be one of the first discovery activities in any Oracle-to-Databricks initiative.&lt;/P&gt;&lt;P&gt;Organizations using Transparent Data Encryption (TDE) should also pay attention to operational processes. CDC of encrypted data depends on the encryption wallet remaining accessible. If wallet management procedures are not automated and monitored, change capture interruptions can occur after database restarts or maintenance events.&lt;/P&gt;&lt;P&gt;Before selecting an ingestion strategy, ask four simple questions: Is the source database RAC-enabled? Is it a primary or standby environment? Does it contain unsupported or complex data types? Are encrypted tables protected through well-managed TDE wallet procedures? In most organizations, a DBA can answer these questions within hours, potentially avoiding weeks of redesign later.&lt;/P&gt;&lt;P&gt;A practical decision framework emerges. Single-instance Oracle deployments on supported versions with conventional relational data are strong candidates for the native Databricks connector. RAC-based systems, Exadata deployments, or applications with heavy XML, JSON, and LOB usage often benefit from Oracle GoldenGate, Qlik Replicate, or Fivetran. For relatively static datasets, Lakehouse Federation or one-time bulk migration approaches may provide a simpler path.&lt;/P&gt;&lt;P&gt;The key lesson is that connector limitations should be treated as architecture inputs, not footnotes. Most migration challenges are not caused by Databricks itself; they stem from assumptions about the source environment. Teams that perform an early assessment of Oracle topology, database roles, data types, and encryption practices are far more likely to avoid surprises and deliver a predictable migration outcome.&lt;/P&gt;&lt;P&gt;If you have navigated Oracle RAC, Data Guard, or complex LOB migrations into Databricks, the lessons learned are often more valuable than the technology choices themselves. Sharing those experiences helps the community build better migration playbooks.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/128093"&gt;@bhaskarpalit&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/113532"&gt;@berat&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Author: Rinku Kalra | Senior Data Architect&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2026 01:44:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/planning-oracle-cdc-into-databricks-check-these-limitations/m-p/177379#M1987</guid>
      <dc:creator>RDTAI_genpact</dc:creator>
      <dc:date>2026-11-24T01:44:25Z</dc:date>
    </item>
    <item>
      <title>Databricks on Azure vs AWS vs Google Cloud: what actually differs at the infrastructure level</title>
      <link>https://community.databricks.com/t5/community-articles/databricks-on-azure-vs-aws-vs-google-cloud-what-actually-differs/m-p/177690#M1983</link>
      <description>&lt;P&gt;Most Databricks concepts carry over between clouds: Unity Catalog, workspaces, clusters, SQL warehouses. The infrastructure underneath does not. I have deployed the same private-network workspace design with Terraform and Terragrunt on Azure, AWS and Google Cloud, and the differences that cost me time were not in the notebooks. They were in how the workspace is created, which identity does it, and how the network and storage are wired.&lt;/P&gt;&lt;P&gt;This article is for architects and platform engineers who know one cloud well and now have to build Databricks on another, or who have to choose between them. It covers classic compute in a customer-managed network. Serverless compute is out of scope.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H2&gt;The comparison&lt;/H2&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; Azure AWS Google Cloud&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Cloud boundary&lt;/TD&gt;&lt;TD&gt;Subscription and resource group&lt;/TD&gt;&lt;TD&gt;AWS account&lt;/TD&gt;&lt;TD&gt;Google Cloud project&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;How the workspace is created&lt;/TD&gt;&lt;TD&gt;An Azure resource, through Azure Resource Manager&lt;/TD&gt;&lt;TD&gt;Databricks account API, referencing parts you registered&lt;/TD&gt;&lt;TD&gt;Databricks account API, referencing your project and network&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;How Databricks operates in your cloud&lt;/TD&gt;&lt;TD&gt;Managed resource group next to the workspace (visible, not changeable)&lt;/TD&gt;&lt;TD&gt;Cross-account IAM role that Databricks assumes&lt;/TD&gt;&lt;TD&gt;Workspace service account that Databricks creates in your project&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Deploying identity&lt;/TD&gt;&lt;TD&gt;Azure identity with rights on the subscription&lt;/TD&gt;&lt;TD&gt;AWS identity for the AWS resources, plus a Databricks account admin for the account API&lt;/TD&gt;&lt;TD&gt;One Google identity: Databricks account admin and rights in the project&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Classic compute network&lt;/TD&gt;&lt;TD&gt;VNet with two delegated subnets (host and container)&lt;/TD&gt;&lt;TD&gt;VPC with subnets in two or more availability zones, plus security groups&lt;/TD&gt;&lt;TD&gt;VPC with one regional subnet, plus a firewall rule&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Lakehouse storage and Unity Catalog access&lt;/TD&gt;&lt;TD&gt;ADLS Gen2, through an access connector (managed identity)&lt;/TD&gt;&lt;TD&gt;Amazon S3, through an IAM role&lt;/TD&gt;&lt;TD&gt;Cloud Storage, through a Databricks-managed service account&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Private path to storage&lt;/TD&gt;&lt;TD&gt;Storage private endpoint&lt;/TD&gt;&lt;TD&gt;S3 gateway endpoint&lt;/TD&gt;&lt;TD&gt;Private Google Access&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Private connectivity to the control plane&lt;/TD&gt;&lt;TD&gt;Azure Private Link, Premium tier&lt;/TD&gt;&lt;TD&gt;AWS PrivateLink, Enterprise tier&lt;/TD&gt;&lt;TD&gt;Private Service Connect, Enterprise tier&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="V01_Community_Image_1_Azure.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33747i1C98E6B005371274/image-size/large?v=v2&amp;amp;px=999" role="button" title="V01_Community_Image_1_Azure.png" alt="V01_Community_Image_1_Azure.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="V01_Community_Image_2_AWS.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33748iE2732526030E06B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="V01_Community_Image_2_AWS.png" alt="V01_Community_Image_2_AWS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="V01_Community_Image_3_Google_Cloud.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33749iC28731CE918FEE2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="V01_Community_Image_3_Google_Cloud.png" alt="V01_Community_Image_3_Google_Cloud.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;H2&gt;Four differences that matter in practice&lt;/H2&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;H3&gt;1. Who creates the workspace&lt;/H3&gt;&lt;/DIV&gt;&lt;P&gt;On Azure, the workspace is a native Azure resource. In Terraform it is azurerm_databricks_workspace, deployed through Azure Resource Manager like a storage account or a key vault. On AWS and Google Cloud, the workspace is created by the Databricks account API (databricks_mws_workspaces), and your cloud only supplies the parts it references.&lt;/P&gt;&lt;P&gt;Why it matters: on Azure, workspace creation follows Azure RBAC, Azure Policy and resource group conventions. On AWS and Google Cloud, a Databricks account admin is on the critical path for every new workspace, and the workspace does not appear as a resource in your cloud inventory the way it does on Azure.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;2. How Databricks gets into your cloud&lt;/H3&gt;&lt;/DIV&gt;&lt;P&gt;Each cloud gives Databricks a different foothold:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Azure:&lt;/STRONG&gt; Azure creates a managed resource group alongside the workspace. Databricks manages it; you can see it but not change it. You name it up front (managed_resource_group_name in my config).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;AWS:&lt;/STRONG&gt; you create a cross-account IAM role, and Databricks assumes it to launch clusters. You register it with the Databricks account as a credential configuration.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Google Cloud:&lt;/STRONG&gt; you create nothing for this. When the workspace is created, Databricks itself adds a workspace service account and the workspace system storage to your project.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Why it matters: this is what your security team will ask about first. On AWS the trust is an explicit role you write and review. On Google Cloud it is created on your behalf, so the review moves to the permissions of the identity that creates the workspace.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;3. The deploying identity&lt;/H3&gt;&lt;/DIV&gt;&lt;P&gt;On Azure, one service principal with Contributor on the subscription creates the workspace. In my repo the same service principal is also a Databricks account admin, because the account-level steps (metastore assignment, workspace admin group) still need it. On AWS, two identities work side by side: GitHub Actions reaches AWS through OIDC to create the role, bucket and VPC, and a Databricks service principal with an OAuth secret calls the account API. On Google Cloud, one Google service account does both, and there is no Databricks OAuth secret at all.&lt;/P&gt;&lt;P&gt;Why it matters: on Google Cloud, Databricks uses that identity's Google credentials to create resources in your project, so it needs real project permissions, not just Databricks rights. Keep three Google identities apart: the creator that deploys the workspace, the workspace service account that runs compute, and the storage credential's service account that reads and writes the data.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;4. Private control plane connectivity is a pricing tier decision&lt;/H3&gt;&lt;/DIV&gt;&lt;P&gt;Private access to your data and private access to the Databricks control plane are two separate decisions. The first uses the cloud's own private paths. The second needs Azure Private Link (Premium tier) or, on AWS and Google Cloud, PrivateLink and Private Service Connect (Enterprise tier).&lt;/P&gt;&lt;P&gt;Why it matters: on the Premium tier, my Azure workspaces use Private Link, while my AWS and Google Cloud workspaces cannot. On those two, clusters reach the control plane through the NAT gateway or Cloud NAT instead, and I kept PrivateLink and Private Service Connect in the code behind a flag, off by default.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H2&gt;What the repos look like&lt;/H2&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Azure&lt;/STRONG&gt; (modules/adb_workspace_private/modules/workspace/main.tf) creates the workspace as an Azure resource and guards the design with preconditions:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;resource&lt;/SPAN&gt; &lt;SPAN class=""&gt;"azurerm_databricks_workspace"&lt;/SPAN&gt; &lt;SPAN class=""&gt;"this"&lt;/SPAN&gt; {
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;                                  &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;workspace_name&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;resource_group_name&lt;/SPAN&gt;                   &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;data&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;azurerm_resource_group&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;this&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;location&lt;/SPAN&gt;                              &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;region&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;sku&lt;/SPAN&gt;                                   &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;pricing_tier&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;managed_resource_group_name&lt;/SPAN&gt;           &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;managed_resource_group_name&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;AWS&lt;/STRONG&gt; (modules/dbx_workspace_private/modules/workspace/main.tf) creates it from registered configurations:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;credentials_id&lt;/SPAN&gt;             &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;credentials_id&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;storage_configuration_id&lt;/SPAN&gt;   &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;storage_configuration_id&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;network_id&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;network_id&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;private_access_settings_id&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;private_access_settings_id&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Google Cloud&lt;/STRONG&gt; (modules/dbx_workspace_private/modules/workspace/main.tf) points the workspace at a project and lets Databricks fill it:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;  &lt;SPAN class=""&gt;cloud_resource_container&lt;/SPAN&gt; {
    &lt;SPAN class=""&gt;gcp&lt;/SPAN&gt; {
      &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;project_id&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;var&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;gcp_project_id&lt;/SPAN&gt;
    }
  }&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The three blocks show the whole difference in creation path: a resource in your cloud, an assembly of registered parts, or a project that Databricks writes into.&lt;/P&gt;&lt;DIV class=""&gt;&lt;H2&gt;Easy to get wrong&lt;/H2&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Azure subnet names.&lt;/STRONG&gt; The Terraform arguments are public_subnet_name and private_subnet_name, but with secure cluster connectivity neither subnet has public IPs. They are the host and container subnets, and both must be delegated to Microsoft.Databricks/workspaces.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Azure without NAT.&lt;/STRONG&gt; My Azure repo does not create a NAT gateway, so classic clusters have no outbound internet access and the validation notebook's internet check warns. If clusters need PyPI, Maven or external APIs, add an outbound path. A NAT gateway is a design choice, not a rule.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Google Cloud firewall.&lt;/STRONG&gt; Databricks does not create firewall rules in a customer-managed VPC. Without an intra-subnet ingress rule, cluster nodes cannot talk to each other. My repo creates db-&amp;lt;subnet&amp;gt;-ingress allowing all traffic from the node subnet.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Google Cloud network shape.&lt;/STRONG&gt; One regional subnet, no secondary ranges. Teams coming from GKE often add secondary ranges out of habit.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IAM propagation.&lt;/STRONG&gt; Both AWS and Google Cloud reject a credential that is registered too early. My AWS module waits 60 seconds after creating the cross-account role before registering it, and the Google Cloud module waits for the storage credential's new service account before granting it bucket access.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The AWS Unity Catalog role.&lt;/STRONG&gt; It trusts the Unity Catalog master role with an external ID that Databricks generates for the credential, and it must also trust itself. That forces an order: create the storage credential first (with validation skipped), then the role, then the external location.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Region alignment.&lt;/STRONG&gt; On all three, each workspace must be in the same region as the Unity Catalog metastore it is assigned to.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;H2&gt;Checklist&lt;/H2&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;Write down the cloud boundary per environment: subscription and resource group, AWS account, or project.&lt;/LI&gt;&lt;LI&gt;Decide which identity creates workspaces and confirm it is a Databricks account admin where the account API is used.&lt;/LI&gt;&lt;LI&gt;On Google Cloud, separate the creator, the workspace service account and the storage credential's service account, and review the creator's project roles.&lt;/LI&gt;&lt;LI&gt;Size the network to the cloud's shape: two delegated subnets on Azure, subnets in at least two availability zones on AWS, one regional subnet on Google Cloud.&lt;/LI&gt;&lt;LI&gt;Decide the outbound path (NAT gateway, Cloud NAT, or none) based on what clusters must reach.&lt;/LI&gt;&lt;LI&gt;Keep data traffic private with a storage private endpoint, the S3 gateway endpoint or Private Google Access.&lt;/LI&gt;&lt;LI&gt;Check your Databricks pricing tier before planning private control plane connectivity.&lt;/LI&gt;&lt;LI&gt;Put the workspace and its metastore in the same region.&lt;/LI&gt;&lt;LI&gt;Add explicit waits for IAM propagation on AWS and Google Cloud.&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;H2&gt;Going deeper&lt;/H2&gt;&lt;/DIV&gt;&lt;P&gt;I wrote one article per cloud with the full deployment and verification:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Azure: [link to Azure article]&lt;/LI&gt;&lt;LI&gt;AWS: [link to AWS article]&lt;/LI&gt;&lt;LI&gt;Google Cloud: [link to GCP article]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These deployments are the infrastructure stage of a series in which I build one enterprise Databricks platform in public, from infrastructure to governance, data engineering and AI/BI.&lt;/P&gt;&lt;P&gt;The code for all three clouds: &lt;A href="https://github.com/DBxArchitectLab" target="_blank" rel="noopener"&gt;https://github.com/DBxArchitectLab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Full walkthrough: &lt;A href="https://youtu.be/MaatDV7-SRU" target="_blank" rel="nofollow noopener"&gt;https://youtu.be/MaatDV7-SRU&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2026 11:16:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/databricks-on-azure-vs-aws-vs-google-cloud-what-actually-differs/m-p/177690#M1983</guid>
      <dc:creator>HongC</dc:creator>
      <dc:date>2026-11-26T11:16:31Z</dc:date>
    </item>
    <item>
      <title>What Is – a DBU? (The kWh on your Databricks bill)</title>
      <link>https://community.databricks.com/t5/community-articles/what-is-a-dbu-the-kwh-on-your-databricks-bill/m-p/177010#M1979</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you're new to Databricks, or you've just started building dashboards or Genie Agents and someone asked what they'll cost, here's the simple version.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;The short answer&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;A &lt;/SPAN&gt;&lt;STRONG&gt;DBU (Databricks Unit)&lt;/STRONG&gt;&lt;SPAN&gt; is how Databricks measures the work your compute does. Think of it as the &lt;/SPAN&gt;&lt;STRONG&gt;kWh on your electricity bill&lt;/STRONG&gt;&lt;SPAN&gt;: it isn't money, it's what you used. You get to money by multiplying the units by a price.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DBUs used × price per DBU = cost.&lt;/STRONG&gt;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;How the meter works&lt;/SPAN&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Bigger appliances use more per hour.&lt;/STRONG&gt;&lt;SPAN&gt; A bigger cluster or SQL warehouse burns more DBUs per hour than a small one, just like an oven uses more than a lamp.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;The meter only runs while something is on.&lt;/STRONG&gt;&lt;SPAN&gt; Usage is measured by the second while compute is running. That includes compute that's switched on but doing nothing, so auto-stop is your best friend.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Some appliances work harder but finish sooner.&lt;/STRONG&gt;&lt;SPAN&gt; On classic compute, Photon uses more DBUs per hour but often finishes the job faster, so the total can go down. Judge by the total, not the rate.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;SPAN&gt;Why the price per unit changes&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Your energy supplier charges different rates for different tariffs. Databricks does the same. The price of one DBU depends on:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;What you're running.&lt;/STRONG&gt;&lt;SPAN&gt; Scheduled jobs, interactive notebooks, SQL warehouses, Genie and model serving each have their own rate. Running a scheduled job on an interactive cluster is like doing your laundry at peak rate.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Where you run it.&lt;/STRONG&gt;&lt;SPAN&gt; Cloud, region and plan all change the rate.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;So "1,000 DBUs" can be a small bill or a big one. It depends on which tariff they were on.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;From DBUs to dollars: a worked example&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Take a team with one SQL warehouse behind their dashboards. &lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;(Illustrative numbers: use the pricing page or your own data for real ones.)&lt;/SPAN&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;The warehouse uses &lt;/SPAN&gt;&lt;STRONG&gt;12 DBUs an hour&lt;/STRONG&gt;&lt;SPAN&gt; while it's on.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;It's left on &lt;/SPAN&gt;&lt;STRONG&gt;8 hours a day&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;22 working days&lt;/STRONG&gt;&lt;SPAN&gt; a month.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI aria-level="1"&gt;&lt;STRONG&gt;12 × 8 × 22 = 2,112 DBUs&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;At an illustrative &lt;/SPAN&gt;&lt;STRONG&gt;$0.70 per DBU&lt;/STRONG&gt;&lt;SPAN&gt;, that's about &lt;/SPAN&gt;&lt;STRONG&gt;$1,480 a month at list price&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Now set auto-stop to 10 minutes. If people actually use it about 3 hours a day:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI aria-level="1"&gt;&lt;STRONG&gt;12 × 3 × 22 = 792 DBUs ≈ $555 a month.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Same dashboards, same users, about a third of the cost. Most early savings look like this: the meter runs less, not a cheaper rate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To do the same sum on your real usage, &lt;/SPAN&gt;&lt;SPAN&gt;system.billing.usage&lt;/SPAN&gt;&lt;SPAN&gt; has the DBUs and &lt;/SPAN&gt;&lt;SPAN&gt;system.billing.list_prices&lt;/SPAN&gt;&lt;SPAN&gt; has the list rates:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;SELECT u.sku_name,

       ROUND(SUM(u.usage_quantity))                                    AS dbus,

       ROUND(SUM(u.usage_quantity * p.pricing.effective_list.default)) AS list_cost

FROM system.billing.usage u

JOIN system.billing.list_prices p

  ON  u.sku_name   = p.sku_name

  AND u.cloud      = p.cloud

  AND u.usage_unit = p.usage_unit

  AND u.usage_end_time &amp;gt;= p.price_start_time

  AND (p.price_end_time IS NULL OR u.usage_end_time &amp;lt; p.price_end_time)

WHERE u.usage_date &amp;gt;= current_date() - INTERVAL 30 DAYS

GROUP BY u.sku_name

ORDER BY list_cost DESC

LIMIT 10;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;That gives you your top 10 cost lines for the last 30 days, &lt;/SPAN&gt;&lt;STRONG&gt;at list price&lt;/STRONG&gt;&lt;SPAN&gt;. Which brings us to discounts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;List price isn't your price: where discounts come in&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;The public price list is the "standard tariff". What you actually pay can be lower:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Commitment contracts.&lt;/STRONG&gt;&lt;SPAN&gt; Many organisations commit to a level of spend over one or more years in exchange for a lower rate per DBU, like a fixed-rate energy deal. The bigger and longer the commitment, the bigger the discount usually is.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Promotions.&lt;/STRONG&gt;&lt;SPAN&gt; Some products launch with a promotional rate for a limited period. Genie's billable usage, for example, currently carries a promotional discount.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Free allowances.&lt;/STRONG&gt;&lt;SPAN&gt; Some usage is free up to a limit, like Genie's 150 DBUs per person a month until 31 January 2027. It's still metered, so it shows up in your usage data. That's what lets you price it before it becomes billable.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Your cloud bill has its own discounts.&lt;/STRONG&gt;&lt;SPAN&gt; On classic compute, the machines underneath are billed by your cloud provider. Their reserved-instance or savings-plan discounts apply there, not to the DBUs.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;The practical rule:&lt;/STRONG&gt;&lt;SPAN&gt; the query above gives you list price. Your negotiated rate is in your contract, and your account team can confirm it. When you forecast for finance, show both, &lt;/SPAN&gt;&lt;STRONG&gt;list&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;after discount&lt;/STRONG&gt;&lt;SPAN&gt;. A range is more honest than a single number, and finance will trust it more.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;What this means for dashboards and Genie&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;If you're building rather than paying the bill, two things to know:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Dashboards run on SQL warehouses.&lt;/STRONG&gt;&lt;SPAN&gt; Every refresh, filter and scheduled update uses warehouse DBUs. A dashboard nobody opens but that refreshes every hour still keeps the meter running. That's why retiring unused dashboards and Genie Agents is a cost lever, not just tidying up: see &lt;/SPAN&gt;&lt;A href="https://community.databricks.com/t5/warehousing-analytics/how-to-retire-genie-agents-and-dashboards-nobody-uses-so-you-can/td-p/174786" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to retire Genie Agents and dashboards nobody uses&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Genie is metered per user.&lt;/STRONG&gt;&lt;SPAN&gt; Each question uses DBUs, and the free allowance covers each person up to a limit. To forecast what that becomes after the free period, see &lt;/SPAN&gt;&lt;A href="https://community.databricks.com/t5/generative-ai/how-to-size-your-genie-bill-genie-agent-genie-code-before-the/td-p/175617" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to size your Genie bill before the free period ends&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;SPAN&gt;Three gotchas&lt;/SPAN&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;DBUs aren't always the whole bill.&lt;/STRONG&gt;&lt;SPAN&gt; On classic compute you also pay your cloud provider for the machines, like paying rent separately from electricity. Serverless is more like an all-inclusive apartment: the compute is in the DBU price.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Idle isn't free.&lt;/STRONG&gt;&lt;SPAN&gt; A warehouse or cluster that's on but unused still burns DBUs. Auto-stop is the single cheapest fix.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Rates differ by product, so totals mislead.&lt;/STRONG&gt;&lt;SPAN&gt; 1,000 jobs DBUs and 1,000 serverless SQL DBUs are different amounts of money. Always multiply by the rate before you compare.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;SPAN&gt;Where to go next&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;If system tables are new to you, start with &lt;/SPAN&gt;&lt;A href="https://community.databricks.com/t5/warehousing-analytics/what-is-a-system-table-your-databricks-bank-statement/td-p/173619" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;What Is – a system table? (Your Databricks bank statement)&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN&gt;Why it matters&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Once a team stops reading DBUs as dollars and starts asking "which tariff, which appliance, how long was it on, and what's our rate?", cost conversations get a lot shorter. And the fixes get obvious: switch things off, use the right compute for the job, and size to the work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2026 18:15:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/what-is-a-dbu-the-kwh-on-your-databricks-bill/m-p/177010#M1979</guid>
      <dc:creator>Valeria_Koz_DBX</dc:creator>
      <dc:date>2026-11-19T18:15:31Z</dc:date>
    </item>
    <item>
      <title>Your Lakeflow Connect Table Is a Replica, Not a Ledger</title>
      <link>https://community.databricks.com/t5/community-articles/your-lakeflow-connect-table-is-a-replica-not-a-ledger/m-p/177399#M1976</link>
      <description>&lt;P&gt;By&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132044"&gt;@ozaaditya&lt;/a&gt;&amp;nbsp;&amp;nbsp;in collaboration with&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85833"&gt;@sridharplv&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;Most medallion designs I've reviewed rest on one quiet assumption: bronze remembers. Silver can be rebuilt and gold can be recomputed, because somewhere upstream there's a table holding everything that ever arrived. Databricks' own full-refresh guidance leans on exactly this idea. Land raw data in a bronze streaming table and keep its types flexible, and downstream tables can be refreshed against it while bronze never needs a refresh itself.&lt;/P&gt;&lt;P&gt;Then you adopt Lakeflow Connect, and bronze becomes a set of destination tables created and maintained by a managed connector. They're good tables: governed, incremental, low effort. But the connector decides what's in them, and under well-defined conditions it's entitled to throw the contents away and take a fresh snapshot.&lt;BR /&gt;So the question I think every team should ask, and few do, is simple. If bronze can be re-snapshotted, where does history actually live?&lt;/P&gt;&lt;P&gt;This post is my attempt at an answer. It isn't a setup guide; there are plenty of those already. It's about a design decision that's easy to miss until the day an auditor asks for last quarter's version of a customer record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The re-snapshot is not an edge case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A full refresh of a managed ingestion table clears its data and state and reprocesses the source (docs). For a database connector, what comes back is the source's current state plus whatever changes follow. Every intermediate state the source went through before the refresh is gone from that table.&lt;/P&gt;&lt;P&gt;If you turned on the connector's own history tracking (SCD type 2), that goes too. The history tracking page says it plainly: a full refresh replaces the table, removes previous row versions, and history starts again from the refresh point.&lt;/P&gt;&lt;P&gt;To be clear, this isn't a bug. It's exactly what a replica should do. The problem only appears when we treat a replica as if it were a ledger.&lt;/P&gt;&lt;P&gt;How often does a refresh actually happen? More often than you'd think, because the triggers come from quite different places. When I went through the connector docs, they fell into these groups:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="602"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;&lt;STRONG&gt;Where the refresh comes from&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;&lt;STRONG&gt;Examples (connector-specific, so check yours)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Someone on your team&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;A manual refresh to fix data. Adding a column that was previously excluded also needs a refresh to backfill its history.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;A policy you enabled&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;The &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/full-refresh" target="_blank" rel="noopener"&gt;auto full refresh policy&lt;/A&gt; reacts to table truncates, incompatible type changes, column renames and new columns with defaults.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;A break in source continuity&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;A stopped SQL Server gateway can lose changes to log retention. An Availability Group failover under change tracking forces a refresh of every table in the pipeline (&lt;A href="https://docs.databricks.com/ingestion/lakeflow-connect/sql-server-limits" target="_blank" rel="noopener"&gt;SQL Server limitations&lt;/A&gt;).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;A cursor that expired&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;Gmail's history cursor lasts about seven days. Run the pipeline less often than that and the connector falls back to a full refresh (&lt;A href="https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/gmail-limits" target="_blank" rel="noopener"&gt;Gmail limitations&lt;/A&gt;).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Changes the connector can't see incrementally&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;Salesforce hard deletes, and deletes purged from the recycle bin before the next sync, only show up after a full refresh (&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/salesforce-limits" target="_blank" rel="noopener"&gt;Salesforce limitations&lt;/A&gt;).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;The connector's design&lt;/P&gt;&lt;/TD&gt;&lt;TD width="435"&gt;&lt;P&gt;Smartsheet report tables are fully refreshed on every run (&lt;A href="https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/smartsheet-limits" target="_blank" rel="noopener"&gt;Smartsheet limitations&lt;/A&gt;).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Two things in that table bother me as an architect.&lt;/P&gt;&lt;P&gt;First, several of these triggers are outside the data team's control. A DBA failover or a source schema change can start a re-snapshot of a table your finance marts depend on.&lt;/P&gt;&lt;P&gt;Second, auto full refresh is a double-edged feature. Operationally it's great, because an incident heals itself overnight. But it also means an event that destroys history can now happen with nobody in the loop. The only built-in brake is min_interval_hours, which defaults to 24.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What downstream sees when it happens:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The impact depends almost entirely on how your downstream pipelines read the connector table. Each common pattern fails in its own way, and that's the part I see underestimated most.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="602"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;&lt;STRONG&gt;How downstream reads the table&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;&lt;STRONG&gt;Normal day&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;&lt;STRONG&gt;The day the table is re-snapshotted&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;Plain streaming read&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;Fails the first time the connector applies an update or delete. Connector tables are mutable, and &lt;A href="https://docs.databricks.com/aws/en/structured-streaming/delta-lake" target="_blank" rel="noopener"&gt;Structured Streaming only accepts appends&lt;/A&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;Never worked in the first place.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;skipChangeCommits&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;Runs, but quietly ignores every update and delete.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;Keeps running and stays quietly wrong. For CDC sources, this is the option I'd ban.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;Change data feed into AUTO CDC (SCD2)&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;Correct and incremental. The right tool for row-level history.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;The stream's position no longer matches the refreshed table, so you need a recovery procedure. Also check delete semantics: Salesforce documents that under SCD1, deletes don't appear as explicit delete events in the change feed.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;Materialized views&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;Recompute when inputs change. Simple and correct for current state.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;Recompute again. Fine, because they never held history.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;AUTO CDC FROM SNAPSHOT (SCD2)&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;Reads the replica in batch each run and compares it with the last snapshot.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;Keeps working, because there's no streaming checkpoint on the source to invalidate. A &lt;A href="https://github.com/rsleedbx/databricks-agent-skills-tests/pull/59" target="_blank" rel="noopener"&gt;public test&lt;/A&gt; of this exact case on SQL Server reported no spurious versions through a full refresh.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="143"&gt;&lt;P&gt;The connector's own SCD2&lt;/P&gt;&lt;/TD&gt;&lt;TD width="213"&gt;&lt;P&gt;History lives inside the replica.&lt;/P&gt;&lt;/TD&gt;&lt;TD width="245"&gt;&lt;P&gt;Erased.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Once you lay it out like this, the pattern is hard to miss. Anything that keeps history inside the connector table, or tracks its position in that table, inherits the table's refresh behaviour. Anything that treats the table as a series of observed states, read in batch and compared, is insulated from it.&lt;/P&gt;&lt;P&gt;Separate the replica from the ledger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The rule I'd build around is short:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The connector owns the replica. The platform owns the ledger. Nothing the connector does should be able to refresh the ledger.&lt;/P&gt;&lt;P&gt;In practice, that means a history zone sitting between the connector's destination schema and your silver layer. Your own pipeline populates it, and the tables in it are protected with the pipelines.reset.allowed = false table property (docs). That property blocks full refreshes but still allows incremental writes, which is exactly the behaviour you want from a ledger.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure1_architecture.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33660iE73F6445653A7928/image-size/large?v=v2&amp;amp;px=999" role="button" title="figure1_architecture.png" alt="figure1_architecture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;A couple of notes on the picture.&lt;/P&gt;&lt;P&gt;The gateway and staging volume belong to the gateway-based database architecture. &lt;A href="https://docs.databricks.com/aws/en/security/network/onprem/lakeflow-connect" target="_blank" rel="noopener"&gt;Integrated CDC&lt;/A&gt;, currently Beta for SQL Server and Oracle, folds extraction and apply into one pipeline, but the replica behaves the same way.&lt;/P&gt;&lt;P&gt;And don't count on the staging volume as a safety net. It's temporary storage, and data in it is purged after 30 days (&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/cdc-overview" target="_blank" rel="noopener"&gt;database connector docs&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Deciding table by table&lt;/H1&gt;&lt;P&gt;Not every table needs a ledger, and building one everywhere is just a different mistake. The question I'd put to the business owner of each table is blunt: what do you lose if this table's past disappears tonight?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="figure2_decision_flow.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33661i115E7AF7F8E65B5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="figure2_decision_flow.png" alt="figure2_decision_flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;TABLE width="602"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100"&gt;&lt;P&gt;&lt;STRONG&gt;Class&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="117"&gt;&lt;P&gt;&lt;STRONG&gt;Typical tables&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="143"&gt;&lt;P&gt;&lt;STRONG&gt;Route&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="113"&gt;&lt;P&gt;&lt;STRONG&gt;Refresh stance&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="128"&gt;&lt;P&gt;&lt;STRONG&gt;What you give up&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100"&gt;&lt;P&gt;A: current state only&lt;/P&gt;&lt;/TD&gt;&lt;TD width="117"&gt;&lt;P&gt;Reference data, lookups, operational dashboards&lt;/P&gt;&lt;/TD&gt;&lt;TD width="143"&gt;&lt;P&gt;Read the replica directly; materialized views downstream&lt;/P&gt;&lt;/TD&gt;&lt;TD width="113"&gt;&lt;P&gt;Auto full refresh is fine&lt;/P&gt;&lt;/TD&gt;&lt;TD width="128"&gt;&lt;P&gt;Nothing important&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100"&gt;&lt;P&gt;B: as-of history&lt;/P&gt;&lt;/TD&gt;&lt;TD width="117"&gt;&lt;P&gt;Customer attributes, price lists, account owners&lt;/P&gt;&lt;/TD&gt;&lt;TD width="143"&gt;&lt;P&gt;AUTO CDC FROM SNAPSHOT (SCD2) into the history zone&lt;/P&gt;&lt;/TD&gt;&lt;TD width="113"&gt;&lt;P&gt;Let the replica refresh; the ledger is insulated&lt;/P&gt;&lt;/TD&gt;&lt;TD width="128"&gt;&lt;P&gt;History is only as fine-grained as your schedule, and every run scans the whole table&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100"&gt;&lt;P&gt;C: every change matters&lt;/P&gt;&lt;/TD&gt;&lt;TD width="117"&gt;&lt;P&gt;Order lifecycle, postings, audit trails&lt;/P&gt;&lt;/TD&gt;&lt;TD width="143"&gt;&lt;P&gt;Change feed into AUTO CDC (SCD2), plus a written recovery runbook&lt;/P&gt;&lt;/TD&gt;&lt;TD width="113"&gt;&lt;P&gt;Manual, windowed refreshes; auto refresh off for these tables&lt;/P&gt;&lt;/TD&gt;&lt;TD width="128"&gt;&lt;P&gt;More engineering and operating effort, and a continuity break still leaves a gap&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100"&gt;&lt;P&gt;nice to have&lt;/P&gt;&lt;/TD&gt;&lt;TD width="117"&gt;&lt;P&gt;Exploratory or low-stakes tables&lt;/P&gt;&lt;/TD&gt;&lt;TD width="143"&gt;&lt;P&gt;The connector's own SCD2&lt;/P&gt;&lt;/TD&gt;&lt;TD width="113"&gt;&lt;P&gt;Accept that a refresh erases it&lt;/P&gt;&lt;/TD&gt;&lt;TD width="128"&gt;&lt;P&gt;Durability&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Three caveats keep this framework honest.&lt;/P&gt;&lt;P&gt;Class C has a ceiling. If the source's change log was truncated before the connector read it, those changes are gone, and no downstream design brings them back. When every change really matters, the most durable history is usually the one the source system already keeps. Ingest its audit or history tables as ordinary data and treat the replica as a convenience. That's a conversation with the source-system owner, not a pipeline setting, and in my view it's the most valuable thing an architect can bring to this decision.&lt;/P&gt;&lt;P&gt;Class B has a cost dimension. Comparing snapshots means scanning the whole replica each run. The &lt;A href="https://github.com/rsleedbx/databricks-agent-skills-tests/pull/59" target="_blank" rel="noopener"&gt;public test&lt;/A&gt; I mentioned kept the change-feed route specifically for tables too large to scan every time. So size the decision against volume as well as importance.&lt;/P&gt;&lt;P&gt;Classification is per table, not per source. One SQL Server database will easily contain all four classes. Conveniently, the &lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-pipeline" target="_blank" rel="noopener"&gt;pipeline spec&lt;/A&gt; supports table-level table_configuration overrides, so the policy can follow the classification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;A worked example&lt;/H1&gt;&lt;P&gt;Picture a retailer ingesting from two sources:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A SQL Server ERP through the gateway-based connector, covering customers, price_list, sales_order_header and a large inventory_snapshot.&lt;/LI&gt;&lt;LI&gt;Salesforce, covering Account and Opportunity.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here's how the classification might go:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;inventory_snapshot is Class A. Only current stock matters operationally.&lt;/LI&gt;&lt;LI&gt;customers and price_list are Class B. Finance needs "what was the price on the invoice date", not every intermediate edit.&lt;/LI&gt;&lt;LI&gt;sales_order_header is Class C, because status transitions drive revenue recognition. The team also asks the ERP owner whether an order-status audit table already exists.&lt;/LI&gt;&lt;LI&gt;Opportunity is Class B with one caveat. Hard deletes in Salesforce only arrive with a refresh, so the ledger will record those deletions late.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The ingestion pipeline turns that policy into configuration. Auto full refresh is on by default, switched off for the Class C table, and snapshots are pushed into a weekend window (&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/full-refresh" target="_blank" rel="noopener"&gt;refresh window docs)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;resources:
  pipelines:
    erp_ingestion:
      name: 'lfc-erp-ingestion-${bundle.target}'
      serverless: true
      catalog: ${var.dest_catalog}
      schema: ${var.dest_schema}
      ingestion_definition:
        ingestion_gateway_id: ${resources.pipelines.erp_gateway.id}
        table_configuration:
          scd_type: 'SCD_TYPE_1'
          auto_full_refresh_policy:
            enabled: true
            min_interval_hours: 24
        full_refresh_window:
          start_hour: 2
          days_of_week:
            - SATURDAY
            - SUNDAY
          time_zone_id: 'Asia/Kolkata'
        objects:
          - table:
              source_catalog: ${var.source_database}
              source_schema: dbo
              source_table: sales_order_header
              destination_catalog: ${var.dest_catalog}
              destination_schema: ${var.dest_schema}
              table_configuration:
                auto_full_refresh_policy:
                  enabled: false
          # remaining tables inherit the pipeline-level policy&lt;/LI-CODE&gt;&lt;P&gt;The Class B ledger lives in a separate pipeline the platform team owns. It reads the replica as a periodic snapshot using &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ldp/developer/ldp-python-ref-apply-changes-from-snapshot" target="_blank" rel="noopener"&gt;create_auto_cdc_from_snapshot_flow&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from pyspark import pipelines as dp
 
dp.create_streaming_table(
    name="customers_history",
    comment="Platform-owned SCD2 ledger of ERP customers.",
    table_properties={"pipelines.reset.allowed": "false"},
)
 
dp.create_auto_cdc_from_snapshot_flow(
    target="customers_history",
    source="erp_bronze.dbo_replica.customers",
    keys=["customer_id"],
    stored_as_scd_type=2,
)&lt;/LI-CODE&gt;&lt;P&gt;Two design choices matter more than the code itself.&lt;/P&gt;&lt;P&gt;Chain the pipelines; don't schedule them independently. Run the history pipeline as a task that depends on the ingestion task in the same Lakeflow Job. Here's why:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For database connectors, the &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/full-refresh" target="_blank" rel="noopener"&gt;docs&lt;/A&gt; describe the refresh as effectively atomic. The old data stays queryable until the snapshot is applied in a single update.&lt;/LI&gt;&lt;LI&gt;That guarantee is written up for database connectors only, though. The docs also warn that interrupted refresh retries can leave tables partially loaded.&lt;/LI&gt;&lt;LI&gt;A snapshot comparison that happens to read a half-loaded replica would record a wave of deletions in your ledger.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Running the tasks in sequence removes the timing risk. A lightweight gate in front of the history task, such as a row-count sanity check that skips the run on an implausible drop, removes most of what's left.&lt;/P&gt;&lt;P&gt;Protect the ledger, not the replica. The reset-protection property belongs on the history tables. The replica should stay freely refreshable, because refreshing is how the connector heals itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Running it in production&lt;/H1&gt;&lt;P&gt;Make refreshes visible. Every full refresh of a Class B or C source table should raise an alert and leave a note in an operations log. The pipeline event log and update history are the obvious places to watch, and there's dedicated freshness monitoring for CDC tables. Build the alert on whichever signal you've confirmed in your own workspace.&lt;/P&gt;&lt;P&gt;Write the Class C runbook before you need it. It should answer four questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Who approves a refresh?&lt;/LI&gt;&lt;LI&gt;How do you measure the gap between the last applied change and the refresh point?&lt;/LI&gt;&lt;LI&gt;How do you recover the change-feed consumer?&lt;/LI&gt;&lt;LI&gt;How do you tell finance which period's history is incomplete?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Rehearse refreshes on purpose. In staging, trigger a manual refresh and at least one auto refresh caused by a schema change. Then check that the ledger doesn't show any phantom closures. Databricks' &lt;A href="https://docs.databricks.com/aws/en/ldp/full-refresh-st" target="_blank" rel="noopener"&gt;own guidance&lt;/A&gt; recommends testing refreshes outside production and documenting the downstream dependencies; the ledger is what makes that second part manageable.&lt;/P&gt;&lt;P&gt;Treat schedules as a correctness control. A Gmail pipeline that runs less often than its cursor lasts triggers its own refreshes. A SQL Server gateway paused "just for a while" can lose changes to log retention. Run cadence and gateway uptime aren't only cost levers; they protect your data.&lt;/P&gt;&lt;P&gt;Don't lean on time travel. Delta time travel is limited by retention and VACUUM, and it's tied to the very table that gets refreshed. It's useful for recovery, but it isn't a ledger.&lt;/P&gt;&lt;P&gt;Budget for the ledger honestly. Snapshot comparison costs a full scan per run. The change-feed route costs engineering and on-call effort. Both are cheaper than explaining to an auditor why last quarter's customer segmentation can't be reproduced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;When not to bother&lt;/H1&gt;&lt;P&gt;Please don't build a history zone for Class A tables just because the pattern is tidy. In most estates, the majority of ingested tables are current-state lookups, and a ledger for them is pure cost.&lt;/P&gt;&lt;P&gt;And if the source already provides authoritative history, use it. ERP audit tables and Salesforce field history objects ingested as data are good examples. Rebuilding that history from the replica would be duplicate effort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;What I'd want an architect to take away&lt;/H1&gt;&lt;UL&gt;&lt;LI&gt;A managed connector's destination table is a replica, and the connector may replace its contents. Some of the triggers aren't yours to control.&lt;/LI&gt;&lt;LI&gt;History stored inside the replica, or tied to a streaming position in it, inherits its refresh behaviour.&lt;/LI&gt;&lt;LI&gt;Batch snapshot comparison tolerates refreshes naturally. The change feed is more precise but needs a recovery plan.&lt;/LI&gt;&lt;LI&gt;Decide table by table, and let the pipeline spec's table-level overrides carry the decision.&lt;/LI&gt;&lt;LI&gt;skipChangeCommits on a CDC replica is a correctness bug, not a tuning choice.&lt;/LI&gt;&lt;LI&gt;When every change matters, the most reliable history is usually the one the source keeps.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Lakeflow Connect takes a lot of work off our plates: extraction, cursors, retries, schema drift. That's the point of it. But automating ingestion also moves the line of responsibility. The connector now guarantees a faithful present, and nobody guarantees the past unless you decide someone should.&lt;/P&gt;&lt;P&gt;A replica can always be rebuilt. A ledger only exists if someone chose to keep one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Credit where it's due&lt;/H1&gt;&lt;P&gt;This post builds on several community discussions and one public test repository:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;A href="https://community.databricks.com/t5/data-engineering/operationalizing-lakeflow-connect-handling-upstream-schema/td-p/169738" target="_blank" rel="noopener"&gt;Operationalizing Lakeflow Connect&lt;/A&gt; thread, on history erasure and testing downstream recovery.&lt;/LI&gt;&lt;LI&gt;The &lt;A href="https://community.databricks.com/t5/data-engineering/incremental-load-issue-with-sdp/td-p/167891" target="_blank" rel="noopener"&gt;incremental load with SDP&lt;/A&gt; thread, on reading the change feed from mutable bronze tables.&lt;/LI&gt;&lt;LI&gt;The &lt;A href="https://community.databricks.com/t5/data-engineering/architecture-advice-dlt-strategy-for-daily-snapshots-to-scd2/m-p/150318" target="_blank" rel="noopener"&gt;daily snapshots to SCD2&lt;/A&gt; thread, on pipelines.reset.allowed.&lt;/LI&gt;&lt;LI&gt;The &lt;A href="https://github.com/rsleedbx/databricks-agent-skills-tests/pull/59" target="_blank" rel="noopener"&gt;rsleedbx test PR&lt;/A&gt;, which tested AUTO CDC FROM SNAPSHOT through a full refresh.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;References&lt;/H1&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/" target="_blank" rel="noopener"&gt;Lakeflow Connect connector concepts&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/cdc-overview" target="_blank" rel="noopener"&gt;Managed database connectors&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/full-refresh" target="_blank" rel="noopener"&gt;Fully refresh target tables (window, auto policy, CDC behaviour)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/scd" target="_blank" rel="noopener"&gt;Enable history tracking (SCD type 2)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-pipeline" target="_blank" rel="noopener"&gt;Ingest data from SQL Server&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/ingestion/lakeflow-connect/sql-server-limits" target="_blank" rel="noopener"&gt;SQL Server connector limitations&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/salesforce-limits" target="_blank" rel="noopener"&gt;Salesforce connector limitations&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/gmail-limits" target="_blank" rel="noopener"&gt;Gmail connector limitations&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/smartsheet-limits" target="_blank" rel="noopener"&gt;Smartsheet connector limitations&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/ldp/full-refresh-st" target="_blank" rel="noopener"&gt;Full refresh for streaming tables&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/structured-streaming/delta-lake" target="_blank" rel="noopener"&gt;Delta Lake table streaming reads and writes&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ldp/developer/ldp-python-ref-apply-changes-from-snapshot" target="_blank" rel="noopener"&gt;create_auto_cdc_from_snapshot_flow reference&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ldp/updates" target="_blank" rel="noopener"&gt;Run a pipeline update (pipelines.reset.allowed)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/security/network/onprem/lakeflow-connect" target="_blank" rel="noopener"&gt;Ingest on-premises data with Lakeflow Connect (integrated CDC)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 24 Nov 2026 07:37:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/your-lakeflow-connect-table-is-a-replica-not-a-ledger/m-p/177399#M1976</guid>
      <dc:creator>ozaaditya</dc:creator>
      <dc:date>2026-11-24T07:37:12Z</dc:date>
    </item>
    <item>
      <title>Parameterised metric views in Excel: what the Databricks Add-in can and can't do (Nov 2026)</title>
      <link>https://community.databricks.com/t5/community-articles/parameterised-metric-views-in-excel-what-the-databricks-add-in/m-p/176554#M1975</link>
      <description>&lt;DIV class=""&gt;&lt;H1 id="parameterised-metric-views-in-excel-what-the-databricks-excel-add-in-can-and-cant-do-today-nov-2026"&gt;Parameterised metric views in Excel: what the Databricks Excel Add-in can and can't do today (Nov 2026)&lt;/H1&gt;&lt;P&gt;&lt;EM&gt;Drafted with AI assistance. Every result below was reproduced by hand on 2026-11-16 and checked against plain SQL on samples.tpch.orders.&lt;/EM&gt;&lt;/P&gt;&lt;H2 id="tldr"&gt;TL;DR&lt;/H2&gt;&lt;P&gt;I tested a Unity Catalog metric view &lt;STRONG&gt;with parameters&lt;/STRONG&gt; from the Databricks Excel Add-in.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Write SQL&lt;/STRONG&gt; lets you bind parameters to Excel cells: change a cell, refresh, get new numbers.&lt;/LI&gt;&lt;LI&gt;The &lt;STRONG&gt;DATABRICKS.SQL formula&lt;/STRONG&gt; does the same and recalculates live, but returns text.&lt;/LI&gt;&lt;LI&gt;The &lt;STRONG&gt;Select data pivot builder has no way to pass parameters&lt;/STRONG&gt;, so it always runs on the defaults. It also caps results at 1,000 rows by default, with no warning.&lt;/LI&gt;&lt;/UL&gt;&lt;H2 id="which-route"&gt;Which route?&lt;/H2&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s0-decision-flow.png" style="width: 747px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33394i38FF528CA3FE2CFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="s0-decision-flow.png" alt="s0-decision-flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Which route to take, depending on whether users need to change parameter values and how.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A &lt;EM&gt;wrapper view per scenario&lt;/EM&gt; is a plain SQL view that calls the metric view with fixed arguments, so pivot users get a parameter-free object per scenario.&lt;/P&gt;&lt;H2 id="setup"&gt;Setup&lt;/H2&gt;Item Value &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Source&lt;/TD&gt;&lt;TD&gt;samples.tpch.orders (7.5M rows, available in every workspace)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Compute&lt;/TD&gt;&lt;TD&gt;Serverless SQL warehouse, DBSQL 2026.45 (querying a parameterised metric view needs Databricks Runtime 18.2 or above)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Excel for Mac 16.114.4, Databricks Excel Add-in&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Reference&lt;/TD&gt;&lt;TD&gt;Plain SQL on the source table, so every Excel result can be checked&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H2 id="the-demo-metric-view"&gt;The demo metric view&lt;/H2&gt;&lt;P&gt;Two parameters and a validation filter. Full DDL in Appendix A.&lt;/P&gt;Parameter Type Default Used in &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;p_discount&lt;/TD&gt;&lt;TD&gt;DOUBLE&lt;/TD&gt;&lt;TD&gt;0.15&lt;/TD&gt;&lt;TD&gt;net_revenue measure; rejected outside 0 to 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;p_from_date&lt;/TD&gt;&lt;TD&gt;DATE&lt;/TD&gt;&lt;TD&gt;1995-01-01&lt;/TD&gt;&lt;TD&gt;view filter on o_orderdate&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Measures: order_count, gross_revenue, net_revenue. Fields: order_priority, order_status, order_date, order_year, customer_key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s8-view-definition.png" style="width: 981px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33395iA37CE30FC2B47CC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="s8-view-definition.png" alt="s8-view-definition.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;EM&gt;The view in Catalog Explorer (Details tab): the two parameters with defaults, and the validation filter that calls raise_error. Catalog Explorer renders the fields: block as dimensions:; both keys are accepted (dimensions is the backward-compatible synonym).&lt;/EM&gt;&lt;/P&gt;&lt;H2 id="route-1-select-data-pivot"&gt;Route 1: Select data (pivot)&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt; New import → &lt;EM&gt;Select data&lt;/EM&gt; → pick the view → for a metric view the add-in opens the pivot builder directly (for a table you tick &lt;EM&gt;Pivot Data&lt;/EM&gt; first) → Rows order_priority, Values order_count, gross_revenue, net_revenue → Save and import.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s1-pivot-builder.png" style="width: 768px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33396iC6C9D1C9442E439E/image-size/large?v=v2&amp;amp;px=999" role="button" title="s1-pivot-builder.png" alt="s1-pivot-builder.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Select data on the demo view. Fields, measures, Rows and Values, Live query, and a row limit set to 1000 by default. There is nowhere to enter p_discount or p_from_date.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What happens&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The metric view's measures work as pivot values. The docs say the headers may read Sum(measure); in my run they showed the plain measure names. Either way no extra aggregation happens.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;There is no field for parameters&lt;/STRONG&gt; (pivot builder, filters panel, ⋮ menus). The defaults apply: discount 0.15, from 1995-01-01.&lt;/LI&gt;&lt;LI&gt;Cell-bound &lt;STRONG&gt;filters&lt;/STRONG&gt; work and re-query on refresh. A filter on a column that is derived from a parameter does not change the parameter.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Reference values from plain SQL on samples.tpch.orders (discount 0.15, from 1995-01-01):&lt;/P&gt;order_priority orders gross_revenue net_revenue &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1-URGENT&lt;/TD&gt;&lt;TD&gt;817,013&lt;/TD&gt;&lt;TD&gt;123,486,712,128.42&lt;/TD&gt;&lt;TD&gt;104,963,705,309.16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2-HIGH&lt;/TD&gt;&lt;TD&gt;816,819&lt;/TD&gt;&lt;TD&gt;123,456,065,747.72&lt;/TD&gt;&lt;TD&gt;104,937,655,885.56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3-MEDIUM&lt;/TD&gt;&lt;TD&gt;815,382&lt;/TD&gt;&lt;TD&gt;123,175,438,745.16&lt;/TD&gt;&lt;TD&gt;104,699,122,933.39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4-NOT SPECIFIED&lt;/TD&gt;&lt;TD&gt;817,797&lt;/TD&gt;&lt;TD&gt;123,598,232,983.94&lt;/TD&gt;&lt;TD&gt;105,058,498,036.35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5-LOW&lt;/TD&gt;&lt;TD&gt;816,279&lt;/TD&gt;&lt;TD&gt;123,235,562,195.73&lt;/TD&gt;&lt;TD&gt;104,750,227,866.37&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The Excel pivot below matches all five rows to the cent.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s2-pivot-result.png" style="width: 722px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33397i9994FBC06D2A8F63/image-size/large?v=v2&amp;amp;px=999" role="button" title="s2-pivot-result.png" alt="s2-pivot-result.png" /&gt;&lt;/span&gt;The imported pivot on the defaults (discount 0.15, from 1995-01-01). Numbers shown with the Excel locale's decimal comma.&lt;/EM&gt;&lt;/P&gt;&lt;H3 id="the-silent-row-cap"&gt;The silent row cap&lt;/H3&gt;&lt;P&gt;The pivot's generated SQL ends in GROUP BY ALL LIMIT 1000. With Rows order_date (1,310 distinct dates from 1995) the import lands exactly 1,000 rows and shows no warning. There is no ORDER BY, so the 1,000 rows kept are an arbitrary subset, not the first or last 1,000 days. In my run the sheet started at 1995-01-03 and ended at 1998-08-02, so 310 of the 1,310 days were silently missing. The Row limit is editable (default 1,000); raising it removes the cut.&lt;/P&gt;&lt;P&gt;Guardrail: set the Row limit above the expected row count and compare the grand total with a SQL total (reference: 1,310 days, 616,952,011,800.97 gross).&lt;/P&gt;&lt;H2 id="route-2-write-sql-with-cell-bound-parameters"&gt;Route 2: Write SQL with cell-bound parameters&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt; New import → &lt;EM&gt;Write SQL&lt;/EM&gt; → paste the query → &lt;STRONG&gt;+Add&lt;/STRONG&gt; one parameter per :marker (name without the colon) → click the value box → the arrow button → pick the cell → Preview → Save and import.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; order_priority,&lt;/SPAN&gt;
&lt;SPAN&gt;       MEASURE(order_count)   &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; orders,&lt;/SPAN&gt;
&lt;SPAN&gt;       MEASURE(gross_revenue) &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; gross_revenue,&lt;/SPAN&gt;
&lt;SPAN&gt;       MEASURE(net_revenue)   &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; net_revenue&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;FROM&lt;/SPAN&gt;   &lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;catalog&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;schema&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.metric_tpch_orders_param_demo&lt;/SPAN&gt;
&lt;SPAN&gt;       (p_discount  &lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;CAST&lt;/SPAN&gt;(&lt;SPAN class=""&gt;REPLACE&lt;/SPAN&gt;(&lt;SPAN class=""&gt;:discount&lt;/SPAN&gt;, &lt;SPAN class=""&gt;','&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'.'&lt;/SPAN&gt;) &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; &lt;SPAN class=""&gt;DOUBLE&lt;/SPAN&gt;),&lt;/SPAN&gt;
&lt;SPAN&gt;        p_from_date &lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;CAST&lt;/SPAN&gt;(&lt;SPAN class=""&gt;:from_date&lt;/SPAN&gt; &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; &lt;SPAN class=""&gt;DATE&lt;/SPAN&gt;))&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;GROUP&lt;/SPAN&gt;  &lt;SPAN class=""&gt;BY&lt;/SPAN&gt; &lt;SPAN class=""&gt;ALL&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;ORDER&lt;/SPAN&gt;  &lt;SPAN class=""&gt;BY&lt;/SPAN&gt; order_priority&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;The mapping is the point.&lt;/STRONG&gt; Each :marker in the query is tied to one Excel cell:&lt;/P&gt;Query marker Add-in parameter name Excel cell Cell content &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;p_discount =&amp;gt; :discount&lt;/TD&gt;&lt;TD&gt;discount&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Params!B3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;0.15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;p_from_date =&amp;gt; :from_date&lt;/TD&gt;&lt;TD&gt;from_date&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Params!B4&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;1995-01-01 (text)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;Cast every marker.&lt;/STRONG&gt; The add-in appears to send each cell value as an untyped STRING parameter. Without a cast, the number parameter fails with [METRIC_VIEW_INVALID_PARAMETER_VALUE] … parameter p_discount at position 0 requires "DOUBLE". The argument given is "STRING" (SQLSTATE 42K09). A string &lt;EM&gt;literal&lt;/EM&gt; works in the SQL editor because Spark casts literals implicitly; a bound marker is typed, so it does not. Use CAST(:discount AS DOUBLE) and CAST(:from_date AS DATE).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Locale trap.&lt;/STRONG&gt; With European Excel settings the number 0.15 in a cell is sent as the text '0,15', and the cast fails with [CAST_INVALID_INPUT] The value '0,15' of the type "STRING" cannot be cast to "DOUBLE". Two ways out: keep the parameter cell as &lt;EM&gt;text&lt;/EM&gt; with a dot ('0.15), or make the query locale-proof with CAST(REPLACE(:discount, ',', '.') AS DOUBLE), as in the query above. A date kept as text in yyyy-mm-dd is not affected.&lt;/P&gt;&lt;P&gt;Check each binding in the pane: it is easy to point two markers at the same cell. The pane lists them as :discount = Params!B3 and :from_date = Params!B4.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s4-write-sql-pane.png" style="width: 768px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33398i8D2C48EF356F135A/image-size/large?v=v2&amp;amp;px=999" role="button" title="s4-write-sql-pane.png" alt="s4-write-sql-pane.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Write SQL: the query on top (my catalog and schema; use yours), and below it each marker bound to a cell on the Params sheet.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What happens&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Text cells work: the add-in sends the value as a STRING and the query casts it (see above).&lt;/LI&gt;&lt;LI&gt;Change a cell, then Imports tab → ⟳ on the same import: the query re-runs with the new values.&lt;/LI&gt;&lt;LI&gt;No row cap in my test (the pivot cap does not apply to Write SQL).&lt;/LI&gt;&lt;LI&gt;Invalid input (discount 1.5): the view's own raise_error text appears in the add-in, with the statement ID. No wrong figures are shown.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Result on the starting values (discount 0.15, from 1995-01-01): identical to the pivot, to the cent.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s5-write-sql-result.png" style="width: 706px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33399iFB1971E92B2D5A0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="s5-write-sql-result.png" alt="s5-write-sql-result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Write SQL import. Same five rows as the pivot, now driven by the cells Params!B3 and Params!B4.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Expected for discount 0.10 and from 1996-01-01:&lt;/P&gt;order_priority orders gross_revenue net_revenue &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1-URGENT&lt;/TD&gt;&lt;TD&gt;590,000&lt;/TD&gt;&lt;TD&gt;89,188,886,898.81&lt;/TD&gt;&lt;TD&gt;80,269,998,208.93&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2-HIGH&lt;/TD&gt;&lt;TD&gt;588,589&lt;/TD&gt;&lt;TD&gt;88,947,603,612.54&lt;/TD&gt;&lt;TD&gt;80,052,843,251.29&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3-MEDIUM&lt;/TD&gt;&lt;TD&gt;588,448&lt;/TD&gt;&lt;TD&gt;88,931,760,715.16&lt;/TD&gt;&lt;TD&gt;80,038,584,643.64&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4-NOT SPECIFIED&lt;/TD&gt;&lt;TD&gt;590,362&lt;/TD&gt;&lt;TD&gt;89,235,906,429.78&lt;/TD&gt;&lt;TD&gt;80,312,315,786.80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5-LOW&lt;/TD&gt;&lt;TD&gt;589,583&lt;/TD&gt;&lt;TD&gt;89,015,180,424.48&lt;/TD&gt;&lt;TD&gt;80,113,662,382.03&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s5b-write-sql-changed-params.png" style="width: 708px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33400i8597E74165FB5CAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="s5b-write-sql-changed-params.png" alt="s5b-write-sql-changed-params.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The same import after setting Params!B3 to 0.10 and Params!B4 to 1996-01-01 and refreshing. All 15 values match the table above to the cent (decimal comma from the Excel locale).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s6-invalid-input-error.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33401iFCCD4305ED80F3EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="s6-invalid-input-error.png" alt="s6-invalid-input-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Params!B3 set to 1.5 and the import refreshed. The view's own raise_error message comes back in the add-in, so a bad cell value fails loudly instead of returning wrong numbers.&lt;/EM&gt;&lt;/P&gt;&lt;H2 id="route-3-databrickssql-formula"&gt;Route 3: DATABRICKS.SQL formula&lt;/H2&gt;&lt;PRE&gt;=DATABRICKS.SQL(SQL!C3; Params!A3:B4)&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Name/value pairs go in the same row of the range (discount | 0.15, from_date | 1995-01-01).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The SQL comes from a cell.&lt;/STRONG&gt; Excel rejects quoted text longer than 255 characters inside a formula.&lt;/LI&gt;&lt;LI&gt;The separator follows the Excel locale: ; for European settings, , for US.&lt;/LI&gt;&lt;LI&gt;The result &lt;STRONG&gt;spills&lt;/STRONG&gt; and recalculates when a parameter cell changes, with no refresh click.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Every column arrives as text&lt;/STRONG&gt;, including amounts and dates, with a dot decimal. Convert with =NUMBERVALUE(C9; "."; ",").&lt;/LI&gt;&lt;LI&gt;A formula does not refresh when the workbook is reopened until you sign in to the add-in and a cell changes (documented behaviour).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s7-formula-spill.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33402iAE3FEDC6A3198A47/image-size/large?v=v2&amp;amp;px=999" role="button" title="s7-formula-spill.png" alt="s7-formula-spill.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The DATABRICKS.SQL spill on the default parameters. The values match the reference to the cent, but they are left-aligned text with a dot decimal, so wrap them in NUMBERVALUE before calculating.&lt;/EM&gt;&lt;/P&gt;&lt;H2 id="comparison"&gt;Comparison&lt;/H2&gt;Route Parameters from cells Result size Output Skills needed &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Select data, pivot&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;1,000 rows by default, silent&lt;/TD&gt;&lt;TD&gt;Real numbers&lt;/TD&gt;&lt;TD&gt;None&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Write SQL, cell-bound&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;No cap seen (about 8.5k rows tested on a larger view)&lt;/TD&gt;&lt;TD&gt;Real numbers&lt;/TD&gt;&lt;TD&gt;SQL once; then edit cells&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DATABRICKS.SQL&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Not measured (the docs give 10 MB for DATABRICKS.Table; nothing stated for DATABRICKS.SQL)&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;SQL and Excel formulas&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Wrapper view per scenario&lt;/TD&gt;&lt;TD&gt;Fixed at build time&lt;/TD&gt;&lt;TD&gt;Per view&lt;/TD&gt;&lt;TD&gt;Real numbers&lt;/TD&gt;&lt;TD&gt;None for users&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;H2 id="gotchas"&gt;Gotchas&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Silent pivot row cap&lt;/STRONG&gt; (above).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Bound parameters arrive as STRING, formatted in the Excel locale.&lt;/STRONG&gt; Cast them in the query and handle a decimal comma (Route 2). A literal in the SQL editor doesn't show this.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Parameter defaults are SQL expression text.&lt;/STRONG&gt; For a string write default: "'F'"; a bare F fails at CREATE with METRIC_VIEW_INVALID_VIEW_DEFINITION.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;A named argument on a view without parameters&lt;/STRONG&gt; fails with METRIC_VIEW_UNRECOGNIZED_PARAMETER_NAME; an unbound :marker fails with UNBOUND_SQL_PARAMETER.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Dates must be yyyy-mm-dd.&lt;/STRONG&gt; A pivot filter written as 20260201 failed with CAST_INVALID_INPUT.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The pivot's filters are generated as LOWER(col) = LOWER('val')&lt;/STRONG&gt;, which may defeat data skipping on clustered columns.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Parameterised metric views can't be materialised&lt;/STRONG&gt; (documented limitation).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Timings&lt;/STRONG&gt; on serverless: about 9–12 s for the first query of a session, about 0.6 s for a cached refresh, about 6 s for a changed parameter on an 8.5k-row result.&lt;/LI&gt;&lt;/OL&gt;&lt;H2 id="who-benefits-who-doesnt"&gt;Who benefits, who doesn't&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Benefits&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Finance and FP&amp;amp;A for period-end packs or scenario runs, where one person builds the Write SQL template and others edit cells.&lt;/LI&gt;&lt;LI&gt;Data teams who want one governed metric definition behind many workbooks.&lt;/LI&gt;&lt;LI&gt;Analysts doing pivot exploration on views whose defaults are what they need.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Doesn't (yet)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Non-SQL users who need to change parameters inside a pivot.&lt;/LI&gt;&lt;LI&gt;Anyone using pivots on large results without checking the Row limit.&lt;/LI&gt;&lt;LI&gt;Workbooks that depend on DATABRICKS.SQL refreshing at reopen.&lt;/LI&gt;&lt;LI&gt;Teams needing materialised, repeatedly fast queries on parameterised views.&lt;/LI&gt;&lt;/UL&gt;&lt;H2 id="take-aways"&gt;Take-aways&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;SQL- and formula-only parameter passing is genuinely good: one governed metric definition, cells drive the numbers, bad input fails loudly. But it needs someone who can write (or at least paste and cast) SQL, and the pivot builder has no parameter prompt yet. So the least technical users, the ones pivots exist for, are the ones left on the defaults.&lt;/LI&gt;&lt;LI&gt;The silent 1,000-row cap is the sharper edge: it doesn't error, it just quietly shows you less. Raise the limit and reconcile a total until the add-in warns.&lt;/LI&gt;&lt;LI&gt;DATABRICKS.SQL is the most Excel-native route and the least finished one: live recalculation, but everything comes back as text.&lt;/LI&gt;&lt;LI&gt;Practical pattern for teams today: one SQL-literate person builds the Write SQL template; everyone else edits two cells and clicks refresh. For pure pivot users, publish a wrapper view per scenario until parameter prompts arrive.&lt;/LI&gt;&lt;/UL&gt;&lt;H2 id="what-id-like-to-see"&gt;What I'd like to see&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Parameter inputs in the Select data pivot builder.&lt;/LI&gt;&lt;LI&gt;A visible warning when a pivot hits its Row limit.&lt;/LI&gt;&lt;LI&gt;Saved workspace queries loading in the add-in. The launch post lists reuse of workspace queries as supported, and in my workspace they were listed but didn't load into the editor, even after an explicit Save in the SQL editor. Is there a precondition I'm missing?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone seen these on a roadmap, or tried the add-in on Windows? &lt;A href="https://www.databricks.com/blog/author/toussaint-webb" target="_blank" rel="noopener"&gt;Toussaint Webb&lt;/A&gt;, if the add-in asks land in your area I'd welcome your take. The three asks were also submitted via in-product feedback on 2026-11-16.&lt;/P&gt;&lt;H2 id="appendix-a-view-ddl"&gt;Appendix A: view DDL&lt;/H2&gt;&lt;P&gt;Run in the SQL editor in a schema of your own (you need CREATE TABLE and USE SCHEMA on the schema, USE CATALOG on the catalog, and SELECT on samples.tpch.orders). Replace &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt;.&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class=""&gt;OR&lt;/SPAN&gt; &lt;SPAN class=""&gt;REPLACE&lt;/SPAN&gt; &lt;SPAN class=""&gt;VIEW&lt;/SPAN&gt; &lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;catalog&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;schema&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.metric_tpch_orders_param_demo&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;WITH&lt;/SPAN&gt; METRICS&lt;/SPAN&gt;
&lt;SPAN&gt;LANGUAGE YAML&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;AS&lt;/SPAN&gt; $$&lt;/SPAN&gt;
&lt;SPAN&gt;version: &lt;SPAN class=""&gt;1.1&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;comment&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&amp;gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  Demo &lt;SPAN class=""&gt;for&lt;/SPAN&gt; &lt;SPAN class=""&gt;the&lt;/SPAN&gt; Excel &lt;SPAN class=""&gt;Add&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;/SPAN&gt; article: parameterised revenue &lt;SPAN class=""&gt;on&lt;/SPAN&gt; samples.tpch.orders.&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;source&lt;/SPAN&gt;: samples.tpch.orders&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;parameters&lt;/SPAN&gt;:&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: p_discount&lt;/SPAN&gt;
&lt;SPAN&gt;    data_type: &lt;SPAN class=""&gt;double&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;default&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"0.15"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: p_from_date&lt;/SPAN&gt;
&lt;SPAN&gt;    data_type: &lt;SPAN class=""&gt;date&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;default&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"DATE'1995-01-01'"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;filter&lt;/SPAN&gt;: &lt;SPAN class=""&gt;&amp;gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;CASE&lt;/SPAN&gt; &lt;SPAN class=""&gt;WHEN&lt;/SPAN&gt; p_discount &lt;SPAN class=""&gt;BETWEEN&lt;/SPAN&gt; &lt;SPAN class=""&gt;0&lt;/SPAN&gt; &lt;SPAN class=""&gt;AND&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;       &lt;SPAN class=""&gt;THEN&lt;/SPAN&gt; o_orderdate &lt;SPAN class=""&gt;&amp;gt;=&lt;/SPAN&gt; p_from_date&lt;/SPAN&gt;
&lt;SPAN&gt;       &lt;SPAN class=""&gt;ELSE&lt;/SPAN&gt; &lt;SPAN class=""&gt;CAST&lt;/SPAN&gt;(raise_error(&lt;SPAN class=""&gt;'p_discount must be between 0 and 1'&lt;/SPAN&gt;) &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; &lt;SPAN class=""&gt;BOOLEAN&lt;/SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;END&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;fields:&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: order_priority&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: o_orderpriority&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: order_status&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: o_orderstatus&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: order_date&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: o_orderdate&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: order_year&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: &lt;SPAN class=""&gt;YEAR&lt;/SPAN&gt;(o_orderdate)&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: customer_key&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: o_custkey&lt;/SPAN&gt;
&lt;SPAN&gt;measures:&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: order_count&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: &lt;SPAN class=""&gt;COUNT&lt;/SPAN&gt;(&lt;SPAN class=""&gt;1&lt;/SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;    display_name: Orders&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: gross_revenue&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: &lt;SPAN class=""&gt;SUM&lt;/SPAN&gt;(o_totalprice)&lt;/SPAN&gt;
&lt;SPAN&gt;    display_name: Gross revenue&lt;/SPAN&gt;
&lt;SPAN&gt;    format:&lt;/SPAN&gt;
&lt;SPAN&gt;      &lt;SPAN class=""&gt;type&lt;/SPAN&gt;: &lt;SPAN class=""&gt;number&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;      decimal_places:&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;type&lt;/SPAN&gt;: exact&lt;/SPAN&gt;
&lt;SPAN&gt;        places: &lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;-&lt;/SPAN&gt; name: net_revenue&lt;/SPAN&gt;
&lt;SPAN&gt;    expr: &lt;SPAN class=""&gt;CAST&lt;/SPAN&gt;(&lt;SPAN class=""&gt;SUM&lt;/SPAN&gt;(o_totalprice) &lt;SPAN class=""&gt;*&lt;/SPAN&gt; &lt;SPAN class=""&gt;CAST&lt;/SPAN&gt;(&lt;SPAN class=""&gt;1&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; p_discount &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; &lt;SPAN class=""&gt;DECIMAL&lt;/SPAN&gt;(&lt;SPAN class=""&gt;10&lt;/SPAN&gt;, &lt;SPAN class=""&gt;4&lt;/SPAN&gt;)) &lt;SPAN class=""&gt;AS&lt;/SPAN&gt; &lt;SPAN class=""&gt;DECIMAL&lt;/SPAN&gt;(&lt;SPAN class=""&gt;28&lt;/SPAN&gt;, &lt;SPAN class=""&gt;2&lt;/SPAN&gt;))&lt;/SPAN&gt;
&lt;SPAN&gt;    display_name: Net revenue&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;comment&lt;/SPAN&gt;: Gross revenue &lt;SPAN class=""&gt;after&lt;/SPAN&gt; &lt;SPAN class=""&gt;the&lt;/SPAN&gt; discount parameter.&lt;/SPAN&gt;
&lt;SPAN&gt;    format:&lt;/SPAN&gt;
&lt;SPAN&gt;      &lt;SPAN class=""&gt;type&lt;/SPAN&gt;: &lt;SPAN class=""&gt;number&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;      decimal_places:&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;type&lt;/SPAN&gt;: exact&lt;/SPAN&gt;
&lt;SPAN&gt;        places: &lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;$$&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;net_revenue is cast to DECIMAL on purpose: money stays exact to the cent, and the Excel screenshots show no floating-point noise.&lt;/P&gt;&lt;P&gt;Smoke test in the SQL editor, expected equal to the first table above:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; order_priority, MEASURE(order_count), MEASURE(gross_revenue), MEASURE(net_revenue)&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;FROM&lt;/SPAN&gt; &lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;catalog&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;schema&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;.metric_tpch_orders_param_demo &lt;SPAN class=""&gt;GROUP&lt;/SPAN&gt; &lt;SPAN class=""&gt;BY&lt;/SPAN&gt; &lt;SPAN class=""&gt;ALL&lt;/SPAN&gt; &lt;SPAN class=""&gt;ORDER&lt;/SPAN&gt; &lt;SPAN class=""&gt;BY&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Official docs: &lt;A href="https://docs.databricks.com/aws/en/uc-semantics/metric-views/use-parameters" target="_blank" rel="noopener"&gt;Use parameters with metric views&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/uc-semantics/metric-views/yaml-reference" target="_blank" rel="noopener"&gt;Metric view YAML reference&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/integrations/excel/query-data" target="_blank" rel="noopener"&gt;Import and query data using the Databricks Excel Add-in&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Nov 2026 14:33:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/parameterised-metric-views-in-excel-what-the-databricks-add-in/m-p/176554#M1975</guid>
      <dc:creator>DmitryKuznetsov</dc:creator>
      <dc:date>2026-11-16T14:33:26Z</dc:date>
    </item>
    <item>
      <title>Databricks Latest Features: Genie Code CLI, App Builder, Agent Memory and DABs Deployment History</title>
      <link>https://community.databricks.com/t5/community-articles/databricks-latest-features-genie-code-cli-app-builder-agent/m-p/176443#M1968</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Databricks has shipped a lot of new features recently. Here’s a quick summary of the most useful ones, grouped by area.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. DABs Deployment History&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;Databricks Asset Bundles (DABs) now keep a history of every deployment. Each record shows the deployment version, its status, and the resources it manages.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Until now, working out what changed between two bundle deployments meant digging through Git history or comparing configurations by hand. Deployment history shows those changes directly. For example, if you raise a job’s timeout from 60 to 120 seconds and redeploy, the history records exactly that change.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Auditing changes in production environments&lt;/LI&gt;&lt;LI&gt;Troubleshooting when a job starts behaving differently after a deployment&lt;/LI&gt;&lt;LI&gt;Getting better visibility in CI/CD pipelines built on DABs&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;2. Genie Code CLI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;Genie Code, the Databricks AI coding assistant, now runs from your terminal. It works with your local files and Databricks workflows.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Many developers spend most of their time in a local IDE and terminal. With the CLI, you get AI help without switching to the workspace UI. You can ask it to compare two bundle files, upload files, or help with workflow-related tasks.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Good to know:&lt;/STRONG&gt;&lt;BR /&gt;Model usage from the CLI is billed through &lt;STRONG&gt;Unity Gateway&lt;/STRONG&gt;, so cost tracking and governance stay in one place.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reviewing changes between bundle configurations&lt;/LI&gt;&lt;LI&gt;Doing routine file and workflow tasks faster&lt;/LI&gt;&lt;LI&gt;Local-first development&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;3. Genie App Builder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;Describe the app you want in plain language, and Genie App Builder creates a Databricks App. You can then keep refining it through chat.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Building even a simple internal app used to take frontend skills and setup time. Now you can go from an idea to a working prototype in minutes. The original article’s example is a news tracker with sample data that filters six cards by topic, built from a short description.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Governance:&lt;/STRONG&gt;&lt;BR /&gt;Building, sharing and permissions are controlled through &lt;STRONG&gt;App Spaces&lt;/STRONG&gt;, so teams can create apps quickly without losing control over who builds and who can access them.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Quick internal tools and dashboards&lt;/LI&gt;&lt;LI&gt;Prototypes to show business stakeholders&lt;/LI&gt;&lt;LI&gt;Letting analysts and less technical users build simple apps&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;4. Materialized Views and Streaming Tables from Python&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;You can now create standalone materialized views and streaming tables directly from a serverless notebook, using the &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/25059"&gt;@DP&lt;/a&gt;.materialized_view and &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/25059"&gt;@DP&lt;/a&gt;.table decorators.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Previously these objects were usually defined inside a full declarative pipeline. Now, for simpler cases, you can define them right in a notebook in Python, which means less setup and faster development.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Quick incremental aggregations&lt;/LI&gt;&lt;LI&gt;Lightweight streaming ingestion&lt;/LI&gt;&lt;LI&gt;Testing transformation logic before moving it into a full pipeline&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;5. JDBC Connections in Unity Catalog (Generally Available)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;You can save a JDBC driver, endpoint and credentials once as a Unity Catalog connection, then use it by name in any notebook.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirements:&lt;/STRONG&gt;&lt;BR /&gt;Serverless compute and DBR 19 or above.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Teams often copy connection strings and credentials across many notebooks, which is a maintenance headache and a security risk. With UC JDBC connections:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Credentials are stored once and governed centrally&lt;/LI&gt;&lt;LI&gt;Access is controlled through Unity Catalog permissions&lt;/LI&gt;&lt;LI&gt;Notebooks stay clean, with no hardcoded connection details&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reading from external databases such as MySQL, PostgreSQL or SQL Server&lt;/LI&gt;&lt;LI&gt;Sharing approved connections across teams safely&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;6. Audio Transcription in SQL with ai_transcribe (Beta)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;A new AI function that turns audio into timestamped text with speaker labels, called directly from SQL.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Languages:&lt;/STRONG&gt; English and Spanish (currently)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Audio data used to need separate speech-to-text services and custom pipelines. Now you can transcribe audio with a simple SQL query, then analyze the text with other AI functions such as ai_summarize, ai_classify or ai_analyze_sentiment, all within Databricks.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Call-center analytics (customer sentiment, complaint detection)&lt;/LI&gt;&lt;LI&gt;Meeting and interview transcription&lt;/LI&gt;&lt;LI&gt;Compliance monitoring of recorded calls&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;7. Agent Memory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What it is:&lt;/STRONG&gt;&lt;BR /&gt;AI agents can now store useful facts and user preferences and use them in later conversations. The memory is stored in &lt;STRONG&gt;Lakebase&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it matters:&lt;/STRONG&gt;&lt;BR /&gt;Without memory, every conversation with an agent starts from scratch. With Agent Memory, the agent remembers context. In the original article’s example, a user’s preferred news format is saved and used in a later session, without the earlier conversation being sent again.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where you’d use it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Personalized assistants and chatbots&lt;/LI&gt;&lt;LI&gt;Customer support agents that remember past interactions&lt;/LI&gt;&lt;LI&gt;Internal copilots that learn team preferences over time&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 15 Nov 2026 14:30:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/databricks-latest-features-genie-code-cli-app-builder-agent/m-p/176443#M1968</guid>
      <dc:creator>rajkumar8k</dc:creator>
      <dc:date>2026-11-15T14:30:31Z</dc:date>
    </item>
    <item>
      <title>Protecting Your Company Data When Integrating Coding Agents through Unity AI Gateway</title>
      <link>https://community.databricks.com/t5/community-articles/protecting-your-company-data-when-integrating-coding-agents/m-p/176397#M1966</link>
      <description>&lt;P&gt;Coding agents like Claude Code, Codex, OpenCode, or PI, started through the ug launcher, and integrated with foundation models through Unity AI Gateway can run with whatever Databricks permissions the developer already has through MCPs that is native on Databricks such as AI Search MCP(s), or Genie MCP(s).&lt;/P&gt;&lt;P&gt;Basically this introduce risk to the company if you are trying to protect the data before the model for whatever the reason is AI governance, law, etc, ...&lt;/P&gt;&lt;P&gt;We have been adopting protective mechanism in layers, where each one catches what the one above it misses.&lt;/P&gt;&lt;P&gt;- The first layer is what you already have. Since the agent acts as the user, Unity Catalog row filters, column masks, ABAC tag policies and plain least-privilege grants still apply to whatever it reads. But usually, people have multiple permissions and we want to protect the coding agent from reading the PII from those who have such permissions.&lt;/P&gt;&lt;P&gt;- The second layer is Sensitive Data Detection policy on the model service, you can turn this on on the UI and set it at rank 1, with tags email_address and credit_card. The model gets a token such as [US_SSN] instead of the value. Everything else just allows or denies. Some limitations that we have experience, the REDACT mechanism can be sometime to strict and remove important information from the coding agent such as AWS account number, Databricks workspace id when it is trying to perform task on such environment and break the workflow.&lt;/P&gt;&lt;P&gt;- The third layer is for what the built-ins miss or you can replace it completely to match some of your workflow. A custom SQL policy is a function that takes the event and returns a decision. The body is converted to a small SQL subset, so no regexp, just things like CONTAINS, LIKE and STARTSWITH.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;CREATE OR REPLACE FUNCTION main.governance.block_private_keys(
  event VARIANT
)
RETURNS VARIANT
LANGUAGE SQL
RETURN
  CASE
    WHEN event:type::string = 'request'
      AND CONTAINS(event:context.message::string, 'PRIVATE KEY-----')
    THEN to_variant_object(named_struct('result', 'DENY', 'reason', 'Prompt contains a private key.'))
    ELSE to_variant_object(named_struct('result', 'ALLOW', 'reason', ''))
  END;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2026 10:30:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/protecting-your-company-data-when-integrating-coding-agents/m-p/176397#M1966</guid>
      <dc:creator>DoTA</dc:creator>
      <dc:date>2026-11-14T10:30:49Z</dc:date>
    </item>
    <item>
      <title>The Databricks Architect in the Age of AI: Why Judgement Matters More Than Knowing Every Feature</title>
      <link>https://community.databricks.com/t5/community-articles/the-databricks-architect-in-the-age-of-ai-why-judgement-matters/m-p/176437#M1964</link>
      <description>&lt;H1&gt;&lt;SPAN&gt;The Databricks Architect in the Age of AI: Why Judgement Matters More Than Knowing Every Feature&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;As AI makes technical knowledge increasingly accessible, the real differentiator in enterprise data architecture is shifting towards experience, context and architectural judgement.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are entering an interesting phase in the evolution of data engineering and enterprise architecture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AI can generate SQL, write PySpark transformations, explain Delta Lake, recommend Spark configurations, create data pipelines and increasingly assist with architectural decisions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With AI coding assistants and agentic engineering becoming part of our daily workflows, the effort required to acquire technical knowledge and translate it into working solutions is changing dramatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This raises an important question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;If AI can increasingly perform the technical tasks that data engineers and architects have spent years mastering, what will make an experienced Databricks architect valuable?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe the answer lies in something beyond technical knowledge: &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;the ability to exercise sound architectural judgement.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let's look at this through some practical Databricks scenarios.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;1. Knowing the platform is not the same as architecting an enterprise solution&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Consider a typical enterprise Lakehouse implementation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;An AI assistant can help you:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Generate a Medallion Architecture.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Write PySpark transformations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Create Delta tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Configure Unity Catalog.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Recommend Liquid Clustering strategies.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Build Lakeflow pipelines.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Identify potential Spark performance bottlenecks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;All of this is useful, and increasingly accessible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But enterprise architecture is rarely a problem of simply knowing which Databricks feature to use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is about understanding whether you should use it in the first place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should every source system be ingested into the Lakehouse, or would Lakehouse Federation be more appropriate for certain workloads?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should business transformations happen in the Silver layer, Gold layer or downstream semantic models?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should we use streaming tables, materialized views or conventional Delta tables?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should we optimize for query performance, data freshness, infrastructure cost or operational simplicity?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are not merely technology questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;They are architectural decisions influenced by business requirements, data characteristics, workload patterns, organizational maturity, security obligations and economics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;The platform provides the capabilities. The architect must understand the consequences of using them.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;2. Three architectural decisions where judgement matters&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Let's consider three situations that enterprise data architects regularly encounter.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Scenario A: Lakehouse Federation versus data ingestion&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Imagine an enterprise with several operational databases and an existing Databricks Lakehouse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A straightforward recommendation might be to ingest all relevant data into Delta tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But is that always the right decision?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Consider a source that:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Contains data accessed infrequently.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Has modest query latency requirements.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Is already governed by an established operational team.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Would introduce additional replication and synchronization overhead if ingested.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Lakehouse Federation might be a more appropriate choice for certain workloads.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the other hand, if the workload demands high concurrency, predictable performance, complex transformations or historical processing, ingestion might be preferable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The decision requires understanding access patterns, data freshness, source-system impact, cost and operational ownership.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Knowing the feature is one thing. Knowing when not to use it is another.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Scenario B: Medallion Architecture versus business complexity&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Medallion Architecture has become a widely adopted pattern for organizing data refinement in the Lakehouse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, implementing Bronze, Silver and Gold layers does not automatically produce a well-designed enterprise data platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Consider a large retail enterprise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sales transactions, inventory movements, customer information and supply chain data may have different ownership structures, data quality expectations and business rules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Simply moving data through three layers does not answer:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Where should business validation rules reside?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Who owns the definition of a trusted business entity?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;How should data contracts be enforced?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;How do we manage schema evolution?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;What happens when an upstream source changes?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;How do we prevent downstream reporting disruptions?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;These decisions require an understanding of business domains, operational dependencies and consumption requirements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;An architect must design for the enterprise, not merely implement an architecture diagram.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Scenario C: Performance optimization versus economics&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;Databricks offers several capabilities to improve query performance and optimize workloads.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Liquid Clustering, predictive optimization, caching and workload management can all contribute to better performance in appropriate circumstances.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But consider this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A query that takes 30 seconds might be perfectly acceptable for a report refreshed once every night.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same query might be unacceptable for an operational dashboard refreshed every few minutes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Optimizing both workloads using identical strategies would be a mistake.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The architect must understand:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Query frequency and concurrency.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Data volume and growth patterns.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Service-level agreements.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Compute consumption.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Business criticality.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Total cost of ownership.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;The objective is not to build the fastest possible data platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is to build a platform that delivers the required business outcomes at an economically sustainable cost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Optimization without context is often just unnecessary engineering.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;3. Experience changes the quality of architectural decisions&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;There is a significant difference between implementing an architectural pattern and understanding the problem it is intended to solve.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You develop a different perspective when you have:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Experienced a production pipeline failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Dealt with upstream schema changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Reconciled discrepancies across environments.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Managed competing stakeholder expectations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Handled security and access-control challenges.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Experienced the consequences of poorly designed data models.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Supported a platform after its original implementation team has moved on.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;These experiences influence how you approach your next architectural decision.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You begin to anticipate problems before they materialize.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You understand that a seemingly simple technical decision can have implications across governance, operations, reporting, security and business continuity.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AI can increasingly help analyse these situations and recommend solutions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the quality of those recommendations depends heavily on the context provided, the assumptions challenged and the decisions made by the people responsible for the outcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is where accumulated experience becomes valuable.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;4. AI should augment architectural judgement, not replace it&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;I don't see AI as an adversary to experienced Databricks architects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see it as a force multiplier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AI can:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Accelerate technical implementation.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Reduce repetitive engineering effort.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Explore alternative architectural patterns.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Help identify potential failure scenarios.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Improve documentation and knowledge sharing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Accelerate experimentation and prototyping.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;These are meaningful productivity gains.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, generating a technically valid implementation is not the same as delivering a successful enterprise solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;An enterprise needs someone to ensure that the solution:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Addresses the actual business problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Meets security and regulatory requirements.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Integrates with the existing technology ecosystem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Operates reliably at scale.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Remains maintainable.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Delivers measurable business value.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;A technically correct implementation can still be a poor architectural decision.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The responsibility for that decision cannot simply be delegated to an AI-generated recommendation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The opportunity for architects is therefore not to compete with AI on implementation speed, but to use AI to improve the quality and speed of their decision-making.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;5. The next generation of Databricks architects&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;I believe the role of a Databricks architect will increasingly evolve beyond platform specialization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The next generation of architects must become:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Problem framers:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Understand the business problem before selecting the technology.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Systems thinkers:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Understand how ingestion, storage, transformation, governance, consumption and operations interact.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Decision makers:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Evaluate architectural trade-offs instead of blindly following recommended patterns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Business translators:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Connect platform capabilities with measurable business outcomes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Accountable leaders:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Take ownership of architectural decisions and their consequences.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;AI-enabled practitioners:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; Use AI to accelerate execution while retaining independent technical judgement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The objective should not be to compete with AI on how much technical information we can remember.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It should be to become better at knowing what knowledge matters, when to apply it and what consequences follow.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;6. Build knowledge that travels with you&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;There is one more aspect of this discussion that I find particularly important.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Technology platforms will evolve. Organizational structures will change. Designations, authority, teams and access to resources are contextual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the knowledge acquired through building, troubleshooting, experimenting and delivering enterprise platforms travels with you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your ability to understand a complex problem, evaluate alternatives, make sound decisions and deliver outcomes becomes part of your professional capital.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Relationships and reputation are equally important. They create trust, influence and opportunities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But they should amplify your capabilities, never become substitutes for them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Build capabilities that cannot be taken away. Build a reputation that travels beyond your organization. Build relationships that create opportunities, but never become dependent on them for your professional relevance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That, to me, is a sustainable approach to building a technology career.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;A final thought&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;Databricks will continue to evolve. New capabilities will emerge. Some of today's architectural practices will become obsolete. AI will increasingly automate activities that currently require considerable engineering effort.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We cannot build our professional identity around knowing every feature of a technology platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We must build it around the ability to understand problems, make decisions and deliver outcomes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Don't compete with AI on the volume of knowledge. Develop the judgement to know what knowledge matters, when to apply it, and what consequences follow.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Because knowing Databricks might get you started.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But knowing how to architect with Databricks, in the context of a real enterprise, is what makes you valuable.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;H2&gt;&lt;SPAN&gt;Let's hear from the community&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;As AI becomes increasingly capable of generating data pipelines, SQL transformations and architectural recommendations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;What do you believe will differentiate an experienced Databricks architect from an AI-enabled developer?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Technical depth?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Architectural judgement?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Business understanding?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Experience managing production complexity?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Accountability for outcomes?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I'd particularly welcome perspectives from practitioners who have built and operated enterprise-scale Lakehouse platforms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Technology will continue to change. The quality of our decisions must evolve with it.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2026 12:40:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/the-databricks-architect-in-the-age-of-ai-why-judgement-matters/m-p/176437#M1964</guid>
      <dc:creator>TheDataMaverick</dc:creator>
      <dc:date>2026-11-15T12:40:52Z</dc:date>
    </item>
    <item>
      <title>Making AI-agent writes safe on Databricks: lineage, shallow clones, null-safe diffs, rollback</title>
      <link>https://community.databricks.com/t5/community-articles/making-ai-agent-writes-safe-on-databricks-lineage-shallow-clones/m-p/176133#M1961</link>
      <description>&lt;P&gt;A pipeline change can run successfully and still ship wrong data: a join that duplicates rows, a filter that moves a revenue total by a few percent. With AI agents now writing more pipeline code, I wanted a check that runs before a change reaches production. I built it as an open-source tool called bricksentry, then tested it hard on a 2-million-row Delta table on serverless. Here is what I learned. The techniques are useful even if you never use the tool.&lt;/P&gt;&lt;H3&gt;1. Unity Catalog lineage is live, but it remembers dropped tables&lt;/H3&gt;&lt;P&gt;system.access.table_lineage is the right source for "who reads this table": it covers notebooks, jobs and pipelines, not just SQL. Two lessons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It is near real-time. A query I ran from a new session showed up as a downstream reader within minutes.&lt;/LI&gt;&lt;LI&gt;It keeps history for tables that no longer exist. My first version reported old scratch tables as "downstream". Fix: check each target against information_schema.tables and drop the ones that are gone.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;2. Shallow clones make a free sandbox for risky writes&lt;/H3&gt;&lt;P&gt;Instead of running a write on production, run it on a SHALLOW CLONE, diff the clone against production, then drop the clone. A shallow clone copies no data, so it is instant even at 2M rows. What I added on top, and would recommend to anyone doing this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Only allow INSERT, MERGE, UPDATE, DELETE and CREATE OR REPLACE. Refuse DROP, TRUNCATE and ALTER outright.&lt;/LI&gt;&lt;LI&gt;Rewrite any hardcoded production table name to point at the clone.&lt;/LI&gt;&lt;LI&gt;Always drop the clone in a finally block, even when the write fails.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Result: across every attack I tried, production stayed at 2,000,000 rows with zero new Delta versions.&lt;/P&gt;&lt;H3&gt;3. Diff on keys with IS NOT DISTINCT FROM, not =&lt;/H3&gt;&lt;P&gt;A full outer join on key = key silently drops NULL keys on both sides. Every NULL-key row then shows up as one "removed" plus one "added", which is noise that trains people to ignore diffs. Joining with IS NOT DISTINCT FROM fixes it. This bug came from my first real Databricks run, not from my local tests.&lt;/P&gt;&lt;H3&gt;4. Sampling is cheap, until it hides the one row that matters&lt;/H3&gt;&lt;P&gt;Hash-sampling 10% of keys keeps diffs fast on big tables. But a 1-row delete on 2M rows was invisible in the sample. The fix: compare a full-table checksum (row count plus a sum of xxhash64 over the columns) alongside the sample. If the sample looks clean but the checksums differ, re-run the diff on all rows. It stays cheap when nothing changed and exact when something did, and it also catches a 1-row UPDATE.&lt;/P&gt;&lt;H3&gt;5. Capture the rollback before the change, not after&lt;/H3&gt;&lt;P&gt;DESCRIBE HISTORY gives you the current version, so you can write down the exact RESTORE TABLE ... TO VERSION AS OF n before anything runs. Put it in the PR or job log. Working out the right version under pressure is where mistakes happen.&lt;/P&gt;&lt;H3&gt;What I would do differently&lt;/H3&gt;&lt;P&gt;I would have tested on a real workspace much earlier. Two of the three bugs above (lineage ghosts and the sampling blind spot) never appeared on my laptop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Honest limit:&lt;/STRONG&gt; so far this has run on one serverless workspace. If you try these patterns, or the tool, on classic compute, another cloud or a workspace with locked-down system tables, I would really like to hear what you see.&lt;/P&gt;&lt;P&gt;The tool is free and open source (Apache-2.0): &lt;A href="https://github.com/bricksentry/bricksentry" target="_blank" rel="noopener"&gt;github.com/bricksentry/bricksentry&lt;/A&gt;&lt;BR /&gt;Full write-up with every test: &lt;A href="https://medium.com/towards-data-engineering/i-built-a-safety-net-for-ai-agents-on-databricks-then-i-tried-to-break-it-476983ea192c" target="_blank" rel="noopener"&gt;I Built a Safety Net for AI Agents on Databricks. Then I Tried to Break It.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How do you catch risky table changes today: expectations, monitoring, PR review, or something else?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2026 02:32:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/making-ai-agent-writes-safe-on-databricks-lineage-shallow-clones/m-p/176133#M1961</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2026-11-11T02:32:55Z</dc:date>
    </item>
    <item>
      <title>Seven checks before a Unity Gateway rollout</title>
      <link>https://community.databricks.com/t5/community-articles/seven-checks-before-a-unity-gateway-rollout/m-p/176104#M1958</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Community Members,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’ve put together a practical guide to Databricks Unity Gateway, focusing on model access, MCP permissions, policy handling, and cost attribution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are seven checks I recommend before expanding a rollout:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Verify that the intended identity can call the service and an unauthorized identity cannot.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Check the service owner’s access to required destinations and credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Expose only the MCP tools the application needs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Make sure the client distinguishes policy denials from technical failures.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Confirm that usage can be attributed to a caller, service, and workload.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Test whether fallback responses still satisfy the application’s requirements.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Define who receives budget alerts and what users see when usage is blocked.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;The walkthrough includes a runtime architecture diagram, a Python example, and links to official documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Full article:&amp;nbsp;&lt;A title="Databricks Unity Gateway—Access, Governance &amp;amp; Cost" href="https://medium.com/@chalapathi.rao.komirisetti/databricks-unity-gateway-who-called-your-ai-and-who-pays-fed5a4238291?sharedUserId=chalapathi.rao.komirisetti" target="_blank" rel="noopener"&gt;https://medium.com/@chalapathi.rao.komirisetti/databricks-unity-gateway-who-called-your-ai-and-who-pays-fed5a4238291?sharedUserId=chalapathi.rao.komirisetti&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Which check has been the most challenging in your environment? I’d especially welcome examples of how you monitor policy denials and MCP permissions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="runtime-architecture.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33226i044E132F800CA619/image-size/large?v=v2&amp;amp;px=999" role="button" title="runtime-architecture.png" alt="runtime-architecture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2026 14:05:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/seven-checks-before-a-unity-gateway-rollout/m-p/176104#M1958</guid>
      <dc:creator>Chalapathi-Rao</dc:creator>
      <dc:date>2026-11-10T14:05:46Z</dc:date>
    </item>
    <item>
      <title>Is Databricks Losing Its Charm in the Age of AI?</title>
      <link>https://community.databricks.com/t5/community-articles/is-databricks-losing-its-charm-in-the-age-of-ai/m-p/176416#M1956</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I've been working with Databricks for nearly eight years, and lately I've been reflecting on how our role as data engineers is evolving.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One thing I've noticed is that development is increasingly becoming about prompting AI, troubleshooting issues, fixing bugs, and making workflow adjustments rather than actually engineering solutions from the ground up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Don't get me wrong, AI is a powerful tool, and there's no point in resisting it. But I sometimes feel that by becoming too dependent on AI, we're gradually losing some of our core engineering capabilities and, more importantly, our ability to challenge things independently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another concern is that clients are becoming increasingly familiar with AI-generated solutions. They come to us with suggested implementations, estimated development timelines, and even proposed approaches to fixing technical issues. Sometimes, they already have an idea of how long something should take because AI has given them an answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, the real question is: &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;How do we differentiate ourselves as experienced data engineers in this new AI-driven environment?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do we move beyond simply executing AI-generated suggestions and demonstrate that we understand the underlying architecture, data flows, performance implications, scalability, cost optimisation, security, and long-term maintainability better than a generic AI-generated solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ultimately, I believe our value shouldn't be measured by how quickly we can prompt AI or fix a bug. It should be measured by our ability to question assumptions, identify problems that aren't immediately obvious, make sound engineering decisions, and deliver solutions that are technically superior to what a client might initially propose.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd be interested in hearing how other experienced data engineers and architects are approaching this shift.&lt;BR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/121531"&gt;@thekushalvishwa&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#Spar&lt;/SPAN&gt;&lt;SPAN&gt;#Delta Lake#&lt;/SPAN&gt;&lt;SPAN&gt;Workflows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2026 20:46:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/is-databricks-losing-its-charm-in-the-age-of-ai/m-p/176416#M1956</guid>
      <dc:creator>thekushalvishwa</dc:creator>
      <dc:date>2026-11-14T20:46:34Z</dc:date>
    </item>
    <item>
      <title>Why Databricks Metric Views Matter: Consistent Metrics Across Dashboards</title>
      <link>https://community.databricks.com/t5/community-articles/why-databricks-metric-views-matter-consistent-metrics-across/m-p/177373#M1955</link>
      <description>&lt;P&gt;&lt;SPAN&gt;One of the trickiest problems in data engineering happens &lt;/SPAN&gt;&lt;I&gt;after&lt;/I&gt;&lt;SPAN&gt; pipelines are healthy and data quality checks pass:&lt;/SPAN&gt;&lt;SPAN&gt; two dashboards show different numbers for the same metric because each consumer or report calculates the business logic slightly differently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In my latest post on Medium,&lt;/SPAN&gt;&lt;SPAN&gt; I explore how &lt;/SPAN&gt;&lt;STRONG&gt;Databricks Metric Views&lt;/STRONG&gt;&lt;SPAN&gt; help solve this by separating &lt;/SPAN&gt;&lt;STRONG&gt;how a metric is defined&lt;/STRONG&gt;&lt;SPAN&gt; from &lt;/SPAN&gt;&lt;STRONG&gt;how you slice and analyze it,&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;allowing you to define measures once and evaluate them dynamically across dimensions using &lt;/SPAN&gt;&lt;STRONG&gt;MEASURE&lt;/STRONG&gt;()&lt;SPAN&gt; in Databricks SQL,&lt;/SPAN&gt;&lt;SPAN&gt; while keeping definitions centralized across SQL,&lt;/SPAN&gt;&lt;SPAN&gt; AI/BI dashboards,&lt;/SPAN&gt;&lt;SPAN&gt; Genie,&lt;/SPAN&gt;&lt;SPAN&gt; and external BI tools.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Read the full article here:&lt;/SPAN&gt; &lt;A class="" href="https://medium.com/stackademic/one-metric-different-dashboards-why-databricks-metric-views-matter-0a8ed0b30f41" target="_blank" rel="noopener"&gt;One Metric, Different Dashboards: Why Databricks Metric Views Matter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How are you handling metric consistency and semantic definitions across your dashboards and BI tools today?&lt;/SPAN&gt;&lt;SPAN&gt; Would love to hear your patterns,&lt;/SPAN&gt;&lt;SPAN&gt; trade-offs,&lt;/SPAN&gt;&lt;SPAN&gt; or questions in the comments!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2026 00:50:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/why-databricks-metric-views-matter-consistent-metrics-across/m-p/177373#M1955</guid>
      <dc:creator>Avinash_Narala</dc:creator>
      <dc:date>2026-11-24T00:50:40Z</dc:date>
    </item>
    <item>
      <title>Databricks SQL: Check Join Row Counts Before Resizing the Warehouse</title>
      <link>https://community.databricks.com/t5/community-articles/databricks-sql-check-join-row-counts-before-resizing-the/m-p/175640#M1952</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When a sales query runs slowly, inspect how many rows each join produces before changing compute size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Consider a hypothetical retailer joining order lines to payments using &lt;/SPAN&gt;&lt;SPAN&gt;order_id&lt;/SPAN&gt;&lt;SPAN&gt;. One customer’s order has three product lines and two payment records. Joining these tables directly produces six rows for that order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the query then sums line amounts, each product line is counted twice. That extra processing can also make the query slower.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Azure Databricks query profiles show operator-level execution time, row counts, and memory usage, helping identify expensive operations and unexpected row growth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For this fictional report, I would:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Open the query from &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Query History&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then select &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;See query profile&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Inspect the join’s input and output row counts.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Confirm the report’s intended grain: one row per order.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Aggregate order lines and payments separately to that grain before joining.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Validate totals and compare execution profiles under comparable conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Multiple matches can be intentional. The important check is whether the join preserves the meaning and grain of the report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;What checks does your team use to distinguish legitimate join expansion from a join that inflates both processing work and business totals?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reference: &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/user/queries/query-profile" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Azure Databricks query profile&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#Databricks #SQL #QueryOptimization&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2026 01:19:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/databricks-sql-check-join-row-counts-before-resizing-the/m-p/175640#M1952</guid>
      <dc:creator>amitsharma1707</dc:creator>
      <dc:date>2026-11-05T01:19:46Z</dc:date>
    </item>
    <item>
      <title>Structured Streaming: Choose Watermarks Around Real Arrival Delays</title>
      <link>https://community.databricks.com/t5/community-articles/structured-streaming-choose-watermarks-around-real-arrival/m-p/175615#M1950</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Structured Streaming: Choose Watermarks Around Real Arrival Delays&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A practical streaming lesson: measure how late business events arrive before choosing a watermark threshold.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Consider a hypothetical retailer using Azure Databricks to calculate sales in five-minute windows. A customer completes a purchase at 10:05, but the store’s connection fails. The event reaches the platform at 10:40, after newer sales have already arrived.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With a ten-minute watermark delay, that purchase might arrive too late to update its sales window.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Structured Streaming tracks the maximum observed event timestamp and uses the configured delay to calculate its watermark. Records within the lateness threshold are guaranteed to be processed; records outside it might still be processed, but that is not guaranteed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For this fictional pipeline, I would:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Measure arrival delays across normal operations and store outages.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Choose a threshold that reflects the business’s tolerance for missing late sales.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Retain original events so historical totals can be reconciled separately.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Test delayed events and monitor state growth before production.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;A longer threshold tolerates more late data but retains more state. For windowed aggregations in append mode, it also delays final output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;How does your team balance timely sales reporting with accepting events delayed by outages?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reference: &lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/structured-streaming/watermarks" target="_blank"&gt;&lt;SPAN&gt;Azure Databricks watermark guidance&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#Databricks #StructuredStreaming #DataEngineering&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 16:27:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/structured-streaming-choose-watermarks-around-real-arrival/m-p/175615#M1950</guid>
      <dc:creator>amitsharma1707</dc:creator>
      <dc:date>2026-11-04T16:27:04Z</dc:date>
    </item>
    <item>
      <title>Masking Columns for a Client Workspace When You Can’t Use Catalog Binding</title>
      <link>https://community.databricks.com/t5/community-articles/masking-columns-for-a-client-workspace-when-you-can-t-use/m-p/175588#M1945</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;I am Adnan and I am a Cloudera Platform expert recently joined the Databricks Community.&amp;nbsp;I will be sharing all my implementations and experience I have gained as Big Data Expert and any solutions I implement to address my current business problems.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am learning my way through Databricks as I find it interesting and great. There may be better solutions to what I have acheived but am trying to share my learnings with you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Recently I had to solve a problem that turned out to be more awkward than I expected: giving an external client query access to our data, from their own workspace, while guaranting that sensitive columns stay masked for them — and without exposing our main catalog to their workspace.&lt;/P&gt;&lt;P&gt;I'm writing this up because the "obvious" answer (catalog binding) wasn't an option to us for business reasons, and the path we ended up on has a few sharp edges that aren't obvious until you hit them. If you're in the same boat, hopefully this saves you a week.&lt;/P&gt;&lt;H2&gt;The setup&lt;/H2&gt;&lt;P&gt;A few facts that shaped everything:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We have &lt;STRONG&gt;one Unity Catalog metastore&lt;/STRONG&gt;, not two. Our platform data lives in a single catalog I'll call base_catalog. The client queries from a &lt;STRONG&gt;separate workspace&lt;/STRONG&gt;, and the data they're allowed to see is exposed through a second catalog I'll call client_catalog.&lt;/LI&gt;&lt;LI&gt;Both workspaces are on that &lt;STRONG&gt;same metastore&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;The client connects with their own service principals over OAuth/JDBC — they never touch our workspace.&lt;/LI&gt;&lt;LI&gt;base_catalog already has ABAC column-mask and row-filter policies in place (national ID, names, contact numbers, etc.), driven by governed tags.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The goal: the client sees only what they're entitled to, and anything sensitive comes back masked — same as it would for an unprivileged user in our own workspace.&lt;/P&gt;&lt;H2&gt;Why we didn't use catalog binding&lt;/H2&gt;&lt;P&gt;As per Databricks advice, the recommended answer was &lt;STRONG&gt;read-only catalog binding&lt;/STRONG&gt;: bind base_catalog to the client's workspace, and the existing ABAC policies apply natively, no extra work. We actually tried it, and it worked — masking carried over with zero effort on our side.&lt;/P&gt;&lt;P&gt;However we rolled it back anyway. The business requirement was to &lt;STRONG&gt;keep base_catalog isolated&lt;/STRONG&gt; from the client workspace entirely — the client should never be able to see or reach our main catalog, even with policies in force. Binding makes the real catalog reachable from their workspace, and that was the line we weren't allowed to cross.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;So if you &lt;EM&gt;can&lt;/EM&gt; bind, bind — it's genuinely the simplest option and you can stop reading. This article is for when isolation is a hard requirement and binding is therefore off the table.&lt;/FONT&gt;&lt;/P&gt;&lt;H2&gt;Why plain Delta Sharing / Open Sharing wasn't enough on its own&lt;/H2&gt;&lt;P&gt;With binding gone, the natural next thought is Delta Sharing into client_catalog. Two things make this not "just work":&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;On the same metastore, Delta Sharing behaves differently than the cross-account case.&lt;/STRONG&gt; To share a table that's governed by ABAC policies at all, the &lt;STRONG&gt;share owner has to be exempt from those policies&lt;/STRONG&gt; — otherwise Unity Catalog refuses with an error about the share owner being governed by the policy. The practical consequence: the data crosses into client_catalog &lt;STRONG&gt;unmasked&lt;/STRONG&gt;. The masking does not travel with the share.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Tags and policies don't travel either.&lt;/STRONG&gt; The governed tags that drive our masking, and the ABAC policy definitions themselves, do not come across with a share. So on the client side you start with unmasked data, no tags, and no policies — i.e. nothing protecting it.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That second point is the real work. The data lands unmasked; you have to re-establish the masking on the client side. That's a fail-open window if you're not careful — data is exposed between the moment it lands and the moment masking is applied — so the rule we enforce is: &lt;STRONG&gt;no client principal gets access to a table until masking is applied and verified on it.&lt;/STRONG&gt;&lt;/P&gt;&lt;H2&gt;The approach that worked for us&lt;/H2&gt;&lt;P&gt;The shape of the solution:&lt;/P&gt;&lt;PRE&gt;BASE WORKSPACE (base_catalog, isolated)        CLIENT WORKSPACE (client_catalog)
---------------------------------------        ---------------------------------
information_schema.column_tags
        │  (export job: MERGE → a table)
        ▼
governance.exported_tags ── Delta Share ──▶  client_catalog.governance.exported_tags
                                                    │
                                                    │  tag-sync job (diff → apply/remove)
                                                    ▼
                                            tags applied on the shared tables
                                                    │
                                   ABAC policies (pre-created on client_catalog,
                                   keyed to the same governed tags) bind to them
                                                    ▼
                                   client SP (non-exempt) reads MASKED&lt;/PRE&gt;&lt;P&gt;The key ideas:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;base_catalog stays the &lt;STRONG&gt;single source of truth&lt;/STRONG&gt; for which columns are sensitive (the tags).&lt;/LI&gt;&lt;LI&gt;The ABAC &lt;STRONG&gt;policies are created independently on client_catalog&lt;/STRONG&gt; by our governance team — same definitions, same governed tags. They are not synced across catalogs; each catalog owns its own.&lt;/LI&gt;&lt;LI&gt;The only thing that actually moves automatically is &lt;STRONG&gt;tag assignments&lt;/STRONG&gt;, and we built a job to keep them in sync.&lt;/LI&gt;&lt;LI&gt;The client service principals are &lt;STRONG&gt;non-exempt&lt;/STRONG&gt;, so once a column on a client-side table carries the right tag, the client's own policy masks it.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Step 1 — export the tags as data&lt;/H3&gt;&lt;P&gt;You can't "share" tags, but you can share a &lt;STRONG&gt;table that lists them&lt;/STRONG&gt;. I export the tag assignments from base_catalog into a governance table, refreshed on a schedule with a MERGE so that (a) governance's deliberate "leave this unmasked" exceptions survive refreshes, and (b) tags removed at source get dropped:&lt;/P&gt;&lt;PRE&gt;MERGE INTO base_catalog.governance.exported_tags t
USING (
  SELECT schema_name, table_name, column_name, tag_name, tag_value, current_timestamp() AS exported_at
  FROM base_catalog.information_schema.column_tags
  WHERE tag_name IS NOT NULL
) s
ON  t.schema_name=s.schema_name AND t.table_name=s.table_name
AND t.column_name=s.column_name AND t.tag_name=s.tag_name
WHEN MATCHED THEN UPDATE SET t.tag_value=s.tag_value, t.exported_at=s.exported_at
WHEN NOT MATCHED THEN INSERT (schema_name, table_name, column_name, tag_name, tag_value, exported_at, is_exception)
                       VALUES (s.schema_name, s.table_name, s.column_name, s.tag_name, s.tag_value, s.exported_at, FALSE)
WHEN NOT MATCHED BY SOURCE THEN DELETE;&lt;/PRE&gt;&lt;P&gt;The is_exception column is how governance says "this column is PII but the client is entitled to see it, leave it unmasked" — a deliberate, recorded decision rather than an accidental gap.&lt;/P&gt;&lt;H3&gt;Step 2 — share the data with an exempt owner&lt;/H3&gt;&lt;P&gt;The share into client_catalog is &lt;STRONG&gt;owned by a dedicated service principal that's in the EXCEPT list of the policies&lt;/STRONG&gt;. This is required — a non-exempt owner can't share a policy-governed table. That SP exists only to own the share and move data; it's not used to read anything on the client side.&lt;/P&gt;&lt;P&gt;I add both the data schemas/tables and the exported_tags table to the share, running the ALTER SHARE statements as that SP.&lt;/P&gt;&lt;P&gt;(This is the step where data lands unmasked. Everything after this is about putting the masking back before anyone can read it.)&lt;/P&gt;&lt;H3&gt;Step 3 — policies live on the client catalog&lt;/H3&gt;&lt;P&gt;Our governance team creates the same column-mask and row-filter policies on client_catalog, keyed to the same governed tags, with the client SPs &lt;STRONG&gt;not&lt;/STRONG&gt; in the EXCEPT lists. These are separate objects from the base ones and are maintained per catalog.&lt;/P&gt;&lt;H3&gt;Step 4 — the tag-sync job&lt;/H3&gt;&lt;P&gt;A scheduled job diffs the exported tag list against what's actually on client_catalog and reconciles. The diff is a view:&lt;/P&gt;&lt;PRE&gt;CREATE OR REPLACE VIEW client_catalog.governance.tag_sync_diff AS
WITH src AS (
  SELECT schema_name, table_name, column_name, tag_name, is_exception
  FROM client_catalog.governance.exported_tags WHERE tag_name IS NOT NULL
),
cols AS (
  SELECT table_schema AS schema_name, table_name, column_name
  FROM client_catalog.information_schema.columns
),
tags AS (
  SELECT schema_name, table_name, column_name, tag_name
  FROM client_catalog.information_schema.column_tags WHERE tag_name IS NOT NULL
)
SELECT s.schema_name, s.table_name, s.column_name, s.tag_name, s.is_exception,
  CASE
    WHEN c.column_name IS NULL THEN 'SKIP'
    WHEN s.is_exception        THEN 'EXCEPTION'
    WHEN t.tag_name IS NULL     THEN 'ADD'
    ELSE 'PRESENT'
  END AS action
FROM src s
LEFT JOIN cols c USING (schema_name, table_name, column_name)
LEFT JOIN tags t USING (schema_name, table_name, column_name, tag_name)
UNION ALL
SELECT m.schema_name, m.table_name, m.column_name, m.tag_name, FALSE, 'REMOVE'
FROM tags m
LEFT JOIN src s USING (schema_name, table_name, column_name, tag_name)
WHERE s.schema_name IS NULL;&lt;/PRE&gt;&lt;P&gt;And the job applies it. One deliberate choice: &lt;STRONG&gt;additions apply automatically, removals are reported for review, not auto-applied&lt;/STRONG&gt; — because removing a tag &lt;EM&gt;unmasks&lt;/EM&gt; a column, and I didn't want a mistaken change in base_catalog to silently expose data on the client side. I also fingerprint the diff so a run with no changes exits immediately instead of scanning:&lt;/P&gt;&lt;PRE&gt;DIFF_VIEW   = "client_catalog.governance.tag_sync_diff"
STATE_TABLE = "client_catalog.governance.tag_sync_state"
CATALOG     = "`client_catalog`"
AUTO_REMOVE = False   # removals are reported, not auto-applied (unmask risk)

spark.sql(f"CREATE TABLE IF NOT EXISTS {STATE_TABLE} (fingerprint STRING, run_at TIMESTAMP, adds INT, removes INT, exceptions INT)")

fp = spark.sql(f"""SELECT md5(concat_ws('\\n', sort_array(collect_list(
       concat_ws('|', schema_name, table_name, column_name, tag_name, action))))) fp
     FROM {DIFF_VIEW}""").collect()[0]["fp"]

last = spark.sql(f"SELECT fingerprint FROM {STATE_TABLE} ORDER BY run_at DESC LIMIT 1").collect()
if last and last[0]["fingerprint"] == fp:
    dbutils.notebook.exit("NO_CHANGE")

def run(rows, verb):
    n, errs = 0, []
    for r in rows:
        try:
            spark.sql(f"ALTER TABLE {CATALOG}.`{r.schema_name}`.`{r.table_name}` "
                      f"ALTER COLUMN `{r.column_name}` {verb} TAGS ('{r.tag_name}')"); n += 1
        except Exception as e:
            errs.append(f"{verb} {r.schema_name}.{r.table_name}.{r.column_name}: {e}")
    return n, errs

adds = spark.sql(f"SELECT * FROM {DIFF_VIEW} WHERE action='ADD'").collect()
rems = spark.sql(f"SELECT * FROM {DIFF_VIEW} WHERE action='REMOVE'").collect()
exc  = spark.sql(f"SELECT COUNT(*) c FROM {DIFF_VIEW} WHERE action='EXCEPTION'").collect()[0]["c"]

a, errs = run(adds, "SET")
r = 0
if rems and AUTO_REMOVE:
    r, e2 = run(rems, "UNSET"); errs += e2
elif rems:
    print("REMOVE candidates (review — unmask risk):")
    for x in rems: print(f"  {x.schema_name}.{x.table_name}.{x.column_name} [{x.tag_name}]")

spark.sql(f"INSERT INTO {STATE_TABLE} VALUES ('{fp}', current_timestamp(), {a}, {r}, {exc})")
if errs: raise Exception("\n".join(errs))
print(f"adds={a} removes={r} exceptions={exc}")&lt;/PRE&gt;&lt;P&gt;The export job (base side) has to run &lt;STRONG&gt;before&lt;/STRONG&gt; the sync job (client side), or the sync works off a stale snapshot.&lt;/P&gt;&lt;H3&gt;Step 5 — verify as the client, not as yourself&lt;/H3&gt;&lt;P&gt;This is the part I'd stress most, because it's where I nearly fooled myself. Aggregate checks lie — a hashed value can match a "looks like a 10-digit ID" regex and make your counts look wrong in either direction. So I verify by &lt;STRONG&gt;sampling actual values as a real, non-exempt client service principal&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;SELECT &amp;lt;pii_column&amp;gt; FROM client_catalog.&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; WHERE &amp;lt;pii_column&amp;gt; IS NOT NULL LIMIT 5;&lt;/PRE&gt;&lt;P&gt;Expect hashed. I also sweep for PII-looking columns that carry &lt;STRONG&gt;no tag&lt;/STRONG&gt; — because an untagged sensitive column at source means unmasked data on the client:&lt;/P&gt;&lt;PRE&gt;SELECT c.table_schema, c.table_name, c.column_name
FROM client_catalog.information_schema.columns c
LEFT JOIN client_catalog.information_schema.column_tags t
  ON c.table_schema=t.schema_name AND c.table_name=t.table_name AND c.column_name=t.column_name
WHERE t.tag_name IS NULL
  AND lower(c.column_name) RLIKE 'phone|national|mrn|dob|birth|name|identifier|email|address';&lt;/PRE&gt;&lt;P&gt;Only after both checks pass does a client SP get granted on a table.&lt;/P&gt;&lt;H2&gt;Things I learned the hard way&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Tags don't travel with a share, and neither do policies.&lt;/STRONG&gt; You re-apply tags (automated here) and pre-create policies per catalog. I assumed sharing would carry at least the tags; it doesn't.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Masking needs both a tag and a policy that acts on it.&lt;/STRONG&gt; Either one missing means the column is clear, silently, with no error.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Row filters are tag-driven too.&lt;/STRONG&gt; It's easy to focus on column masks and forget the row-filter tags, which fail silently if they're not applied.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Removing a tag unmasks data.&lt;/STRONG&gt; I automate additions but keep removals manual/reviewed. When governance did a "swap the tag" (add new, remove old) on the source, the old tag lingered on the client side because my first version of the job only added — so I built a REMOVE path, but gated it.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Verify by sampling as the actual consumer.&lt;/STRONG&gt; My own session is privileged; it tells me nothing about what the client sees.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The completeness of your source tagging becomes the control.&lt;/STRONG&gt; Anything the governance team hasn't tagged is exposed. The PII-pattern sweep is how I catch the gaps, and it caught real ones.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If isolation isn't a hard requirement, use binding.&lt;/STRONG&gt; This whole pattern exists because we couldn't. It's more moving parts than binding, and more responsibility on you to keep it correct.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Happy to answer questions in the comments if anyone's working through the same constraint.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;If you found this useful, a kudos goes a long way — it tells me this kind of write-up is worth doing, and I’ll keep sharing solutions as I hit new problems........&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 15:54:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/masking-columns-for-a-client-workspace-when-you-can-t-use/m-p/175588#M1945</guid>
      <dc:creator>AdnanFaridKhan</dc:creator>
      <dc:date>2026-11-04T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Solution Accelerator Series | Smart Claims for Insurance</title>
      <link>https://community.databricks.com/t5/community-articles/solution-accelerator-series-smart-claims-for-insurance/m-p/177467#M1944</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Claims teams work across a growing mix of data and investigation steps. The &lt;/SPAN&gt;&lt;STRONG&gt;Smart Claims for Insurance Solution Accelerator&lt;/STRONG&gt;&lt;SPAN&gt; explores how the Databricks Lakehouse can support claims processing, from data ingestion and analysis to decision-making, with technology and human review working together.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;With this Accelerator, you get&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Ready-to-use resources:&lt;/STRONG&gt; &lt;A href="https://d1r5llqwmkrl74.cloudfront.net/notebooks/FSI/smart-claims/index.html?_gl=1*190m9pd*rs_ga*Y2Q5NWZiZGUtYmE4Mi00OTViLWJiYzgtZmViODAzMDkzN2Nh*rs_ga_PQSEQ3RZQC*MTY5MjI5NjE1MTQzMC4xMi4wLjE2OTIyOTYxNTMuNjAuMC4w&amp;amp;itm_source=www&amp;amp;itm_category=solutions&amp;amp;itm_page=smart-claims-for-insurance&amp;amp;itm_location=body&amp;amp;itm_component=cta-image-block#smart-claims_1.html" target="_blank"&gt;&lt;SPAN&gt;pre-built code, sample data and step-by-step instructions ready to go in a Databricks notebook&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Augment investigations:&lt;/STRONG&gt;&lt;SPAN&gt; use insights from existing claims data to support and expedite human reviews.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Support explainable decisions:&lt;/STRONG&gt;&lt;SPAN&gt; provide more context throughout the workflow, with an audit trail for claims staff and support to help guard against human error and bias.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;Explore claims automation:&lt;/STRONG&gt;&lt;SPAN&gt; use data and analytics across the claims process to help lower costs, identify potentially fraudulent claims and accelerate settlements.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p8i6j01 paragraph"&gt;&lt;A style="background-color: #ff3621; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; font-weight: bold; display: inline-block;" href="https://www.databricks.com/solutions/accelerators/smart-claims-for-insurance?itm_source=www&amp;amp;itm_category=solutions&amp;amp;itm_page=accelerators&amp;amp;itm_location=body&amp;amp;itm_component=general-asset-card&amp;amp;itm_offer=smart-claims-for-insurance" target="_blank" rel="noopener"&gt; &lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Launch Solution Accelerator &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_left:"&gt;👈&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2026 16:56:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/solution-accelerator-series-smart-claims-for-insurance/m-p/177467#M1944</guid>
      <dc:creator>Tushar_Parekar</dc:creator>
      <dc:date>2026-11-24T16:56:18Z</dc:date>
    </item>
    <item>
      <title>The hardest part of my classifier project was a pile of nested ZIPs</title>
      <link>https://community.databricks.com/t5/community-articles/the-hardest-part-of-my-classifier-project-was-a-pile-of-nested/m-p/177209#M1941</link>
      <description>&lt;P&gt;How I rebuilt a clean, versioned article corpus from a frontend content store on Databricks, and why that work mattered more than the model.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From a shipped project: multi-label tagging of medical articles, quizzes and courses.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A few weeks ago I wrote about how the best model for each stage of my medical tagging pipeline did not add up to the best pipeline. That post was about the summarizer, the embedder and the classifier head. This one is about everything that happened before any of them saw a single token.&lt;/P&gt;&lt;P&gt;The short version: the content did not live in a database I could query. It lived in a storage layout built for a website. Each article was a folder. Inside the folder there were pointer files, a working directory full of ZIPs, ZIPs inside those ZIPs, several versions of the same document, quizzes in their own XML dialect, and course files in a third one. Nobody had a table that said "this is the current text of article X".&lt;/P&gt;&lt;P&gt;I spent more time on that layer than on any model, and it moved the final result more than any hyperparameter search did. Below is what the layout looked like, the extraction code I ended up with, the bugs it caught, and how the whole thing turned into an incremental Databricks job instead of a notebook I re-ran by hand.&lt;/P&gt;&lt;H2&gt;What the raw data looked like&lt;/H2&gt;&lt;P&gt;Every article came as one folder in a Unity Catalog Volume under a bronze schema. One folder per article, with the folder name acting as the article id. That part was clean. The inside was not.&lt;/P&gt;&lt;P&gt;A typical folder had some combination of these:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;one or more *.go.xml files, named with a prefix and a version number, like &amp;lt;prefix&amp;gt;3.go.xml&lt;/LI&gt;&lt;LI&gt;a working-asset/ subfolder with ZIPs named the same way, like &amp;lt;prefix&amp;gt;3.zip&lt;/LI&gt;&lt;LI&gt;inside each ZIP, more files and sometimes more ZIPs, several levels deep&lt;/LI&gt;&lt;LI&gt;article XML in a JATS-like structure (article-meta, article-title, abstract, sec, p)&lt;/LI&gt;&lt;LI&gt;quiz XML files ending in _quiz.xml, with question and answer correct="correct" elements&lt;/LI&gt;&lt;LI&gt;course files with a cmefile root and coursename / description elements&lt;/LI&gt;&lt;LI&gt;images, stylesheets and other assets the frontend needed and I did not&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And not every folder followed that shape. Some had no go.xml at all. Some had a working-asset/ folder with ZIP names that did not match anything. Some had loose XMLs and no ZIPs. The production parser documents five layouts it supports, and two it still does not (I come back to those at the end).&lt;/P&gt;&lt;P&gt;The thing I had to work out before writing any code: which file is the current version of the article?&lt;/P&gt;&lt;H2&gt;The pointer file was the version, not the ZIP name&lt;/H2&gt;&lt;P&gt;My first assumption was that the newest ZIP was the current content. That was wrong in two ways.&lt;/P&gt;&lt;P&gt;First, versions were not incremental in any reliable way. There was no "v1, v2, v3" sequence I could trust per folder, and the ZIPs that sat in working-asset/ were not always the ones the site served.&lt;/P&gt;&lt;P&gt;Second, the version number is a number, and file names are strings. Sort prefix9.zip and prefix10.zip as strings and 9 wins. That bug is boring and it would have silently fed old text into the classifier for every article that had gone past version 9.&lt;/P&gt;&lt;P&gt;What actually worked was treating the go.xml file as the pointer. The highest-numbered go.xml in the folder tells you which version is live, and that version maps to exactly one ZIP in working-asset/. So the rule became: parse the number out of the go.xml name, compare it as an integer, and open the ZIP with the same prefix and version.&lt;/P&gt;&lt;P&gt;This is the function, straight from the extraction prototype:&lt;/P&gt;&lt;PRE&gt;import os, re

def get_version_from_filename(fname):
    m = re.match(r'^(.*?)(\d+)\.go\.xml$', fname)
    if m:
        return m.group(1), m.group(2)
    m2 = re.match(r'^(.*?)(\d+)\.zip$', fname)
    if m2:
        return m2.group(1), m2.group(2)
    return None

def find_highest_version_go_xml(folder):
    best = None
    for fname in os.listdir(folder):
        if fname.endswith(".go.xml"):
            parsed = get_version_from_filename(fname)
            if parsed:
                prefix, version = parsed
                if not best or int(version) &amp;gt; int(best[1]):
                    best = (prefix, version)
    return best&lt;/PRE&gt;&lt;P&gt;The int(version) is the whole point. One caveat I only noticed later: because the prefix is non-greedy, every trailing digit goes to the version, so a prefix that ends in a digit gets merged into it. It never bit me, because the ZIP lookup rebuilds the name as {prefix}{version} and gets the same string back either way, and all the go.xml files in one folder share a prefix.&lt;/P&gt;&lt;P&gt;Once I had (prefix, version), the ZIP path was working-asset/{prefix}{version}.zip. If that ZIP did not exist, the prototype logged it and skipped the folder instead of guessing.&lt;/P&gt;&lt;H2&gt;Unzipping until there is nothing left to unzip&lt;/H2&gt;&lt;P&gt;The selected ZIP was rarely the end. It usually contained other ZIPs, and those sometimes contained more. I never found a documented maximum depth, so the extractor loops until a full pass finds no ZIPs.&lt;/P&gt;&lt;P&gt;The first version walked the tree and extracted ZIPs while it was still walking it. That works until it does not: you are changing the directory you are iterating over. The production version collects the list first, then extracts, then walks again:&lt;/P&gt;&lt;PRE&gt;def unzip_nested_zips(folder, max_iterations=50):
    for _ in range(max_iterations):
        zips = [
            os.path.join(root, f)
            for root, _, files in os.walk(folder)
            for f in files
            if f.lower().endswith(".zip")
        ]
        if not zips:
            break
        for zip_path in zips:
            if not os.path.exists(zip_path):
                continue
            try:
                with zipfile.ZipFile(zip_path) as z:
                    z.extractall(os.path.dirname(zip_path))
            except Exception as e:
                print(f"Failed to unzip {zip_path}: {e}")
            os.remove(zip_path)  # extracted or corrupt, either way it goes
    remove_non_xml_files(folder)&lt;/PRE&gt;&lt;P&gt;(Trimmed from the real method, which also counts and logs what it extracted.)&lt;/P&gt;&lt;P&gt;Three details in there came from things that went wrong:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;The iteration cap.&lt;/STRONG&gt; A ZIP that extracts to a file with the same name as itself, or a corrupt archive that never gets removed, would loop forever. Fifty passes is far beyond any nesting I saw, and it turns a hang into a log line.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Corrupt ZIPs get deleted.&lt;/STRONG&gt; If extraction fails, the file is removed anyway. Otherwise the next pass finds it again, fails again, and the loop only ends at the cap.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Non-XML cleanup happens once, at the end.&lt;/STRONG&gt; The prototype deleted non-XML files after every pass. That is fine until a ZIP is extracted in a later pass and its siblings were already gone. Moving the cleanup to the end made the result independent of extraction order.&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;Two files with the same name&lt;/H2&gt;&lt;P&gt;After extraction, I flatten every XML into one folder per article, which is what the parser expects. Flattening means name collisions. The same something.xml could appear at two depths in the extracted tree.&lt;/P&gt;&lt;P&gt;The prototype handled this the lazy way: copy the second one as something_1.xml. That keeps both, which sounds safe. It is not, because the parser then reads both, and the article text ends up with duplicated sections or two versions of the same section concatenated. Downstream, the LLM summary of that article quietly gets worse, and nothing errors.&lt;/P&gt;&lt;P&gt;The production rule picks one file per name, deterministically:&lt;/P&gt;&lt;PRE&gt;# keep one file per name: longest path wins, then alphabetical
if f not in xml_files:
    xml_files[f] = src_file
else:
    current = xml_files[f]
    if len(src_file) &amp;gt; len(current):
        xml_files[f] = src_file
    elif len(src_file) == len(current) and src_file &amp;lt; current:
        xml_files[f] = src_file&lt;/PRE&gt;&lt;P&gt;Longest path is a heuristic: the deeper copy is usually the one inside the most specific asset folder. I will not pretend it is right for every folder. What matters more is that it is the same answer on every run. Same input, same file chosen, same text, same summary. When a tag prediction looked wrong, I could reproduce exactly what the model had seen.&lt;/P&gt;&lt;H2&gt;When there is no pointer file&lt;/H2&gt;&lt;P&gt;Folders without a go.xml needed their own rules, and this is where the prototype and the production code diverge most.&lt;/P&gt;&lt;P&gt;The prototype only accepted a folder without go.xml if working-asset/ had exactly one ZIP. Anything else was logged as "No go.xml found and not a single zip to use" and skipped. That was the right call while I was exploring, because it kept the training data clean. It was the wrong call for production, because inference has to tag whatever arrives.&lt;/P&gt;&lt;P&gt;The production _process_article falls back in order:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;go.xml exists: extract only the ZIP for the highest version.&lt;/LI&gt;&lt;LI&gt;No go.xml, but working-asset/ has ZIPs: extract all of them, unzip nested ZIPs, keep XMLs, deduplicate by the rule above. The comment in the code says why: ZIP names do not always match folder names.&lt;/LI&gt;&lt;LI&gt;working-asset/ exists but has no ZIPs, or does not exist: copy whatever XMLs are already in the folder, with the same dedup rule.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Case 2 is a compromise. Extracting every ZIP means I might pull in an older version next to a newer one. The dedup rule limits the damage when the file names are the same, but not when they differ. I accepted that because the alternative was dropping those articles from inference completely.&lt;/P&gt;&lt;H2&gt;Three XML dialects in one folder&lt;/H2&gt;&lt;P&gt;Once the files were out, the parser had to deal with three kinds of document:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Articles.&lt;/STRONG&gt; JATS-like. I keep article-title, abstract, sec, p, captions and a few inline tags, and skip references, cross-references, tables, license blocks, dates and external links. Titles and section heads become Markdown headings so the summarizer sees structure.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Quizzes.&lt;/STRONG&gt; I keep each question and only the correct answer (answer correct="correct"). Wrong answers are noise for tagging, and sometimes they are deliberately misleading.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Course files.&lt;/STRONG&gt; A cmefile root with coursename and description. These get a short path: title is the course name, text is the full description text.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The skip list did more for quality than I expected. Reference lists in medical articles are long and full of condition and treatment names from other papers. Left in, they drag the summary and the embedding toward whatever the cited papers were about.&lt;/P&gt;&lt;P&gt;There was one more piece of metadata I needed: the DOI. The parser looks for article-id with pub-id-type="doi" inside article-meta, and if it is not there, it looks in the quiz files of the same folder. The DOI later became one of the keys for joining extracted text with the client's labeled tables. The production config supports doi, doi_or_title, folder_as_platform_id or title as the join key.&lt;/P&gt;&lt;H2&gt;Malformed XML, and the parser that does not give up&lt;/H2&gt;&lt;P&gt;A share of the XML did not parse with xml.etree.ElementTree. I do not have a clean count of how many files, so I will not invent one. The recovery path is what I can show:&lt;/P&gt;&lt;PRE&gt;for encoding in ['utf-8', 'latin-1', 'iso-8859-1', 'cp1252']:
    try:
        with open(xml_path, 'r', encoding=encoding, errors='ignore') as f:
            content = f.read()
        break
    except Exception:
        continue

# strip control characters
content = re.sub(r'[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F]', '', content)
# escape bare ampersands without touching valid entities
content = re.sub(r'&amp;amp;(?!#[0-9a-zA-Z]+;|amp;|lt;|gt;|quot;|apos;|[a-zA-Z]+;)', '&amp;amp;amp;', content)
root = ET.fromstring(content)&lt;/PRE&gt;&lt;P&gt;Before the final parse, it also drops every character that is not valid in XML 1.0. If that still fails, the last resort is a regex for article-title or coursename on the raw text, so at least the title survives. A title-only row is weak input, but it is better than a missing row, and it is logged as such.&lt;/P&gt;&lt;P&gt;I am not proud of the ampersand regex. It is the kind of code that works on the data you have and breaks on the data you get next year. But it fixed the failure I kept hitting, an unescaped &amp;amp; in a title or heading, and it is isolated in one place.&lt;/P&gt;&lt;H2&gt;From a notebook to an incremental job&lt;/H2&gt;&lt;P&gt;The prototype ran as a notebook over the whole Volume. It used a ThreadPoolExecutor with min(6, os.cpu_count() or 4) workers (there is still a comment in it about replacing a ProcessPoolExecutor), skipped folders it had already written, and dumped the result to a CSV with a comment that said, roughly, "should put it on a table". That was fine for picking models. It was not something I wanted to run in production.&lt;/P&gt;&lt;P&gt;The production version is ingest_xml.py, a job task that reads new article folders and writes to a Delta table. The design is mostly about not redoing work and not blowing up the driver:&lt;/P&gt;&lt;PRE&gt;VOLUME_ROOT          /Volumes/&amp;lt;catalog&amp;gt;/&amp;lt;bronze_schema&amp;gt;/&amp;lt;volume&amp;gt;/PROD
TABLE_RAW            &amp;lt;catalog&amp;gt;.content_tagging.training_articles_raw
FOLDER_BATCH_SIZE    50
SAVE_TO_STAGING_TABLE true
REINGEST_ALL         false&lt;/PRE&gt;&lt;P&gt;The flow per run:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;List folders in the Volume, and drop every path already in training_articles_raw. That makes the job incremental by default. REINGEST_ALL=true forces a full re-parse.&lt;/LI&gt;&lt;LI&gt;Process the pending folders in batches of 50. Unzip scratch goes to a per-run folder on a UC Volume, named after the pipeline run id.&lt;/LI&gt;&lt;LI&gt;Parse each batch, write it to a staging Delta table named after the run id, then MERGE staging into training_articles_raw on path.&lt;/LI&gt;&lt;LI&gt;Drop the staging table and delete the unzip scratch.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The staging table exists because of memory. Without it, each parsed batch sits in a pandas DataFrame on the driver until the merge, and with full article text that adds up fast. Writing the batch to Delta first means the MERGE runs in Spark and nothing large stays on the driver. The in-memory path is still there behind SAVE_TO_STAGING_TABLE=false, but only for small debug runs.&lt;/P&gt;&lt;P&gt;Two Databricks-specific fixes came out of this, and both cost me time:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The ingested_at column has to be cast to TIMESTAMP before the MERGE. After a pandas round-trip it came back as a STRUCT, and the merge failed with a type error.&lt;/LI&gt;&lt;LI&gt;The staging table is written with an explicit three-level catalog.schema.table name. A legacy saveAsTable path resolved against the Hive metastore and failed. Fully qualified Unity Catalog names fixed it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The ingest count also drives retraining. The orchestrator compares distinct paths in training_articles_raw with the count stored at the last training run, and the eligibility rule is 365 days since the last train and at least 1,000 new Volume articles (or a forced taxonomy retrain). So the extraction layer is not just preprocessing. It is the thing that decides when the model is stale.&lt;/P&gt;&lt;H2&gt;What I would tell myself at the start&lt;/H2&gt;&lt;P&gt;The classifier work was the part people asked about. The extraction work is the part that decided whether the classifier had a chance.&lt;/P&gt;&lt;P&gt;A few things I would do from day one if I got this kind of data again:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Find the pointer before you trust a file name. Whatever the source system uses to decide what is live (a go.xml, a manifest, a database row) is the version, and the file that looks newest is not.&lt;/LI&gt;&lt;LI&gt;Make every choice deterministic and boring. Integer version comparison, one file per name with a fixed tie-break, the same fallback order every time. When a prediction is wrong, you want to be able to rebuild exactly what the model saw.&lt;/LI&gt;&lt;LI&gt;Write down what you do not support. The production README lists two layouts the parser rejects: a bare ZIP passed as input, and a folder with one to three ZIPs at the root and no working-asset/. The second one is a TODO waiting on client samples. I would rather fail loudly on those than guess.&lt;/LI&gt;&lt;LI&gt;Land raw, parse into Delta, merge on a stable key. The Volume is bronze, training_articles_raw is the first table anyone should read, and a re-run never duplicates rows.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;One honest note on how this ended. The default training path in production today uses the client's labeled tables with platform abstracts, around 87,000 rows, not the text I extracted from the Volume. The Volume path shows up in training as combined mode, which joins the extracted text to those same labels when a match exists. Inference always goes through the Volume, because new content arrives as folders. So the extraction layer did not end up as the single source of training text. It ended up as the only way new content gets into the system at all, which in hindsight is the more important job.&lt;/P&gt;&lt;H2&gt;TL;DR&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;The content lived in a frontend storage layout: one folder per article, go.xml pointer files, versioned ZIPs in working-asset/, ZIPs inside ZIPs, and three XML dialects.&lt;/LI&gt;&lt;LI&gt;The current version is the highest-numbered go.xml, compared as an integer, not the newest-looking ZIP.&lt;/LI&gt;&lt;LI&gt;Nested unzip runs in passes with a cap of 50, deletes corrupt archives, and cleans non-XML files once at the end.&lt;/LI&gt;&lt;LI&gt;Duplicate XML names are resolved with a fixed rule (longest path, then alphabetical) so every run produces the same text.&lt;/LI&gt;&lt;LI&gt;Malformed XML goes through encoding fallbacks, control-character stripping, ampersand escaping, and a title-only last resort.&lt;/LI&gt;&lt;LI&gt;In production it is an incremental Databricks job: batches of 50 folders, a per-run staging Delta table, MERGE on path, and the ingest count feeds the retraining rule.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you have landed legacy archives in bronze and reconstructed documents there, how did you decide which version was live when the source system had no manifest?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2026 23:55:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/the-hardest-part-of-my-classifier-project-was-a-pile-of-nested/m-p/177209#M1941</guid>
      <dc:creator>FrankAzzollini</dc:creator>
      <dc:date>2026-11-21T23:55:55Z</dc:date>
    </item>
    <item>
      <title>Five things to set up before you rely on Genie Ontology</title>
      <link>https://community.databricks.com/t5/community-articles/five-things-to-set-up-before-you-rely-on-genie-ontology/m-p/177417#M1940</link>
      <description>&lt;P&gt;Genie Ontology learns business context from what already exists in your workspace, so the quality of what it learns depends on what you set up first. Here are the five things I'd put in place.&lt;/P&gt;
&lt;P&gt;1. Domains and subdomains&lt;BR /&gt;Group assets by business area (for example Finance → Revenue). Keep it to one level of subdomains at the start, and give each domain an owner.&lt;BR /&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie/genie-ontology/" target="_blank"&gt;https://docs.databricks.com/aws/en/genie/genie-ontology/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. Metric views for your core KPIs&lt;BR /&gt;Define the 10–20 metrics people argue about most as Unity Catalog metric views. Modeled definitions take priority over learned ones.&lt;BR /&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/uc-semantics/metric-views/" target="_blank"&gt;https://docs.databricks.com/aws/en/uc-semantics/metric-views/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. Pages for business definitions&lt;BR /&gt;Write short, atomic Pages for terms like "active customer" or "fiscal quarter." Pages are generally available since November 11, 2026.&lt;BR /&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/uc-semantics/pages" target="_blank"&gt;https://docs.databricks.com/aws/en/uc-semantics/pages&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;4. Certified and deprecated assets&lt;BR /&gt;Certify the tables, dashboards and Genie Agents you trust, and deprecate stale ones, so ranking favors the right sources.&lt;/P&gt;
&lt;P&gt;5. Permissions you're comfortable with&lt;BR /&gt;Genie only uses context from assets each user can access, so review grants on the assets above before rollout.&lt;/P&gt;
&lt;P&gt;After that, ask a few benchmark questions with known answers and check the sources Genie cites under each answer.&lt;/P&gt;
&lt;P&gt;If you're comparing Genie Ontology with Palantir or other context layers, I keep a docs-linked comparison here (updated Nov 23, 2026):&lt;BR /&gt;&lt;A href="https://medium.com/@saurabhanilagrawal/genie-ontology-vs-palantir-ontology-whats-the-difference-e64f06746ad2" target="_blank"&gt;https://medium.com/@saurabhanilagrawal/genie-ontology-vs-palantir-ontology-whats-the-difference-e64f06746ad2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(I wrote the guide — happy to be corrected.)&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2026 08:36:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/five-things-to-set-up-before-you-rely-on-genie-ontology/m-p/177417#M1940</guid>
      <dc:creator>Saurabh2310</dc:creator>
      <dc:date>2026-11-24T08:36:22Z</dc:date>
    </item>
    <item>
      <title>Kilnworks: no-code data quality for agency data, built on Databricks Labs DQX</title>
      <link>https://community.databricks.com/t5/community-articles/kilnworks-no-code-data-quality-for-agency-data-built-on/m-p/177378#M1938</link>
      <description>&lt;P&gt;Agency data stewards know their data best. But each new data check needs code and a ticket to the IT team. So bad rows reach the reports first, and the source team hears about it days later.&lt;/P&gt;&lt;P&gt;Kilnworks is my answer to this problem. It is a data quality studio on Databricks. Data stewards write and test the rules without code, a data owner approves them, and a landing job keeps bad rows out of the tables that people use. It is built on Databricks Labs DQX and uses Databricks native features only.&lt;/P&gt;&lt;P&gt;In this article I show how it works and what happened in the demo. Most of the article is a "Do it yourself" guide, with the official docs for each step, so you can build the same flow in your own workspace.&lt;/P&gt;&lt;H2&gt;Who this is for&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Data stewards and data owners&lt;/STRONG&gt; who know the rules for their data, and want to set them without waiting for an engineer.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Platform teams&lt;/STRONG&gt; who run one Databricks platform for many teams or agencies, and want one governed way to check data before people use it.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Data engineers&lt;/STRONG&gt; who want to know how Databricks Labs DQX fits between bronze and silver.&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;The problem&lt;/H2&gt;&lt;P&gt;Raw data lands in bronze tables. Nobody has checked it yet. Somebody must decide which rows are good enough for silver, and what happens to the rows that are not.&lt;/P&gt;&lt;P&gt;In many teams, each check is code in a pipeline. The steward who knows the rule cannot change it. The engineer who can change it does not know the rule. When a row fails, it often just disappears, and nobody can say why. When a row passes but should not, the report is wrong.&lt;/P&gt;&lt;P&gt;I wanted a flow where the people who know the data own the rules, the platform team owns the guard rails, and every bad row has a reason.&lt;/P&gt;&lt;H2&gt;How it works&lt;/H2&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yougasundar_0-1795481786648.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33652i958B516CDD82BC7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Yougasundar_0-1795481786648.png" alt="Yougasundar_0-1795481786648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kilnworks has three parts: a set-up that the platform team does once, the work on each table, and the landing run.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set up once.&lt;/STRONG&gt; One deploy script makes the catalog, the service principals and the grants, and deploys the studio with Declarative Automation Bundles. The studio is a Databricks App with user authorisation, so each user sees and tests only the tables that they can read in Unity Catalog. Lakebase holds the rules, the approvals, the landing settings and the schedules. For each agency, one onboard command makes a service principal and a landing job. That service principal can read bronze and write silver and quarantine in its own catalog only.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Every table.&lt;/STRONG&gt; The steward profiles the table and writes the rules. The rules come from the profile, from the AI, or from the Marketplace. Then the data owner reviews and approves them. Only approved rules run.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Every run.&lt;/STRONG&gt; A serverless Lakeflow job runs as the agency service principal. It reads the approved rules and applies them with the DQX engine. Each rule has a level:&lt;/P&gt;&lt;P&gt;Rule level Where the row goes&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Error&lt;/TD&gt;&lt;TD&gt;Quarantine only. The row stays out of silver.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Warning&lt;/TD&gt;&lt;TD&gt;Silver, and a copy goes to quarantine for a check.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Each quarantined row keeps the reason. After the run, a Databricks SQL alert emails the team when rows went to quarantine or the run failed.&lt;/P&gt;&lt;H2&gt;A walk through the demo&lt;/H2&gt;&lt;P&gt;The demo uses a synthetic table of grant applicants for a fictional agency, with errors planted on purpose.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;The AI model.&lt;/STRONG&gt; The admin picks the AI model in the settings. In the demo it is the agency's own model service in Unity AI Gateway. No Databricks foundation model is needed.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Profile.&lt;/STRONG&gt; The steward opens the bronze table and clicks Run profile. In just over a minute, Kilnworks profiles 180 rows. It finds gaps, for example the applied date is only 95% complete, and it suggests four rules to start with.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Singapore rules.&lt;/STRONG&gt; The Marketplace has 50 ready-made Singapore rules: NRIC and FIN numbers, UEN, postal codes, phone numbers, GST and government security labels. The admin adds them to the registry in one click. They arrive approved, at version 1.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;A new rule from one sentence.&lt;/STRONG&gt; The steward asks the AI for a rule on the Singapore NRIC format. The AI writes the name, the check and the pattern. The steward sends it for review.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Approval.&lt;/STRONG&gt; The approver opens Review and approve, reads the rule definition and approves it. Now the rule can run.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Landing.&lt;/STRONG&gt; The steward sets the silver table, the quarantine table and the alert email. Each run reads only the new rows. Before any run, Kilnworks checks the access of the agency service principal. All four checks pass.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;The run.&lt;/STRONG&gt; The run reads 180 rows. Ten rows have errors, so they stay out of silver. Twenty rows have warnings: they go to silver, and a copy goes to quarantine. Silver gets 170 rows. The landing can also run on a schedule, for example every day at 6 am, Singapore time.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;After the run.&lt;/STRONG&gt; The silver tables belong to the agency service principal, not to a person. The alert email arrives, so the steward can go back to the source team the same day. The Results page shows a quality score of 99.2% across all tables, with a drill-down by dimension, severity and rule.&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;See it in action&lt;/H2&gt;&lt;P class=""&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fh1lrF-1BqX0%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dh1lrF-1BqX0&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fh1lrF-1BqX0%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Kilnworks: no-code data quality for agency data on Databricks" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yougasundar_1-1795481856945.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33653i13BBD9706B3508EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Yougasundar_1-1795481856945.png" alt="Yougasundar_1-1795481856945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The profile of the bronze table: 180 rows in just over a minute, with four suggested rules.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yougasundar_2-1795481894392.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33654i9B571E7EF4FDF846/image-size/large?v=v2&amp;amp;px=999" role="button" title="Yougasundar_2-1795481894392.png" alt="Yougasundar_2-1795481894392.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Singapore rules in the Marketplace, ready to add to the registry.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yougasundar_3-1795481930034.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/33655iCC36B7EAF19E4BD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Yougasundar_3-1795481930034.png" alt="Yougasundar_3-1795481930034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The access check of the agency service principal, and the landing run: 180 read, 170 to silver, 10 errors, 20 warnings.&lt;/P&gt;&lt;H2&gt;Do it yourself&lt;/H2&gt;&lt;P&gt;You can build the same flow with public tools and the official docs. You do not need my code.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Look at what is built in first.&lt;/STRONG&gt; If your data already flows through Lakeflow Spark Declarative Pipelines, expectations may be enough: they can keep, drop or stop on bad rows. A separate rule tool is useful when people who do not write code must own the rules, or when you want one rule registry for many tables. Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/expectations" target="_blank" rel="noopener"&gt;Manage data quality with pipeline expectations&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Start with a profile.&lt;/STRONG&gt; DQX can profile a table and generate candidate rules. Treat them as a starting point, and let the steward keep only the rules that make sense. Docs: &lt;A href="https://databrickslabs.github.io/dqx/docs/guide/data_profiling/" target="_blank" rel="noopener"&gt;DQX profiling and quality checks generation&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Write the rules as data, not code.&lt;/STRONG&gt; In DQX, a check can be defined in YAML or JSON, or stored in a Delta table or a Lakebase table. Give every check a criticality. "error" means the row goes only to quarantine. "warn" means the row goes to both the good and the bad output. Docs: &lt;A href="https://databrickslabs.github.io/dqx/docs/guide/quality_checks_definition/" target="_blank" rel="noopener"&gt;DQX quality checks definition&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Split good and bad rows.&lt;/STRONG&gt; Apply the checks and split the data into a valid and an invalid (quarantine) DataFrame. Write the valid rows to silver and the invalid rows to a quarantine table, with the result columns that say which check failed. Docs: &lt;A href="https://databrickslabs.github.io/dqx/docs/guide/quality_checks_apply/" target="_blank" rel="noopener"&gt;DQX applying quality checks&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Keep the rules and approvals in one place.&lt;/STRONG&gt; A small Lakebase database is a good home for the rules, the approvals and the settings of an app. Only approved rules go to the landing job. Docs: &lt;A href="https://docs.databricks.com/aws/en/oltp/" target="_blank" rel="noopener"&gt;Lakebase Postgres&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Run the landing as a service principal, not as a person.&lt;/STRONG&gt; Use one service principal for each team or agency, with access to its own catalog only. Run the job on serverless compute. Then a person who leaves does not break the job, and the tables do not belong to a person. Docs: &lt;A href="https://docs.databricks.com/aws/en/jobs/run-serverless-jobs" target="_blank" rel="noopener"&gt;Run jobs with serverless compute&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/jobs/privileges" target="_blank" rel="noopener"&gt;Identities and privileges for jobs&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Give the stewards an app with user authorisation.&lt;/STRONG&gt; With user authorisation, the app uses the identity of the user, and Unity Catalog permissions still apply. A steward sees only the tables that they can read. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth" target="_blank" rel="noopener"&gt;Configure authorization in a Databricks app&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Tell the team the same day.&lt;/STRONG&gt; Create a Databricks SQL alert on the runs or quarantine table, and send it to the team email. Docs: &lt;A href="https://docs.databricks.com/aws/en/sql/user/alerts/create" target="_blank" rel="noopener"&gt;Create an alert&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Make it repeatable.&lt;/STRONG&gt; Put the app, the jobs and the grants in Declarative Automation Bundles and scripts. Then a new workspace gets the same set-up with one command, with no manual grants. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank" rel="noopener"&gt;What are Declarative Automation Bundles?&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H2&gt;What it does not do&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;It does not ingest data from source systems into bronze. It starts when the data is in bronze.&lt;/LI&gt;&lt;LI&gt;It does not repair quarantined rows. It keeps them with the reason, so the source team can fix them at the source.&lt;/LI&gt;&lt;LI&gt;It does not replace the judgement of the data owner. The AI and the profile suggest rules. A person approves them.&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;What I learned&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Warnings are as useful as errors.&lt;/STRONG&gt; A warning row still goes to silver, but the copy in quarantine shows the team what to look at. Not every problem must stop the data.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Approval is the real control.&lt;/STRONG&gt; Anybody can write a rule. Only an approved rule runs. This one step makes stewards and platform teams trust each other.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;No person should own the tables.&lt;/STRONG&gt; When a service principal owns the catalog and the tables, the platform keeps working when people change roles.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Check access before the run, not after.&lt;/STRONG&gt; A run that fails halfway because of a missing grant is worse than a run that does not start. Kilnworks blocks Run now and schedules until the access check passes.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Local rules save the most time.&lt;/STRONG&gt; Ready-made rules for local formats, such as Singapore NRIC, UEN and postal codes, help a new team more than a long list of generic checks.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Credit: Kilnworks is built on Databricks Labs DQX and DQX Studio, under the Databricks License. All data in the demo is synthetic.&lt;/P&gt;&lt;P&gt;Kilnworks is one of my own projects. If you work on data quality on Databricks, I am happy to compare notes. Ask me in the comments about any part.&lt;/P&gt;&lt;P&gt;&lt;I&gt;Yougasundar Panneer Selvam, Data and AI architect, Singapore&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2026 01:02:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/kilnworks-no-code-data-quality-for-agency-data-built-on/m-p/177378#M1938</guid>
      <dc:creator>Yougasundar</dc:creator>
      <dc:date>2026-11-24T01:02:15Z</dc:date>
    </item>
    <item>
      <title>From the Databricks Hackathon to the Databricks Community!</title>
      <link>https://community.databricks.com/t5/community-articles/from-the-databricks-hackathon-to-the-databricks-community/m-p/175705#M1935</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Back in March 2026, I participated in a Databricks hackathon, where I had the opportunity to build a solution using Databricks and explore its capabilities in solving real-world problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm excited to share that my project secured a place among the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Top 100 out of 18,000+ participants!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The experience was a great opportunity to experiment, learn, and push my technical skills further.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, as I join the Databricks Community, I'm looking forward to sharing more about the project, discussing the technical challenges I encountered, and learning from fellow data and AI practitioners.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Project:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://github.com/DevashishK26/Smart-Manufacturing-IoT-Lakehouse" target="_blank" rel="noopener"&gt;https://github.com/DevashishK26/Smart-Manufacturing-IoT-Lakehouse&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd love to hear your thoughts and feedback!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#Databricks #DataEngineering #DataScience #AI #Hackathon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2026 15:21:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/from-the-databricks-hackathon-to-the-databricks-community/m-p/175705#M1935</guid>
      <dc:creator>DevashishK26</dc:creator>
      <dc:date>2026-11-05T15:21:53Z</dc:date>
    </item>
  </channel>
</rss>

