<?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>topic MS Fabric Direct Lake, works with delta tables only? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174210#M56812</link>
    <description>&lt;P&gt;Lately we started using Direct Lake to use the results of our ingestion pipelines (gold tables) in PBI dashboards. This is working ok but has one annoying and troublesome issue. Which is: the gold tables are the end result of declarative pipelines so they are materialized views. However DL does not currently work with MVs so we added an extra step that copies the views to delta tables That works but the extra table copying a) is expensive, b) adds additional minutes to the ingestion-&amp;gt;cleaning-&amp;gt;aggregation job, and c) appears to create issues with Fabric and DL with the larger tables (50 M rows) in terms of them being overwritten so frequently (in one critical case every 15 minutes).&lt;/P&gt;&lt;P&gt;Is this pattern the only way to get this to work? How are other people handling this situation? I feel like I'm missing something here...&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2026 19:57:30 GMT</pubDate>
    <dc:creator>dbernstein_tp</dc:creator>
    <dc:date>2026-10-21T19:57:30Z</dc:date>
    <item>
      <title>MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174210#M56812</link>
      <description>&lt;P&gt;Lately we started using Direct Lake to use the results of our ingestion pipelines (gold tables) in PBI dashboards. This is working ok but has one annoying and troublesome issue. Which is: the gold tables are the end result of declarative pipelines so they are materialized views. However DL does not currently work with MVs so we added an extra step that copies the views to delta tables That works but the extra table copying a) is expensive, b) adds additional minutes to the ingestion-&amp;gt;cleaning-&amp;gt;aggregation job, and c) appears to create issues with Fabric and DL with the larger tables (50 M rows) in terms of them being overwritten so frequently (in one critical case every 15 minutes).&lt;/P&gt;&lt;P&gt;Is this pattern the only way to get this to work? How are other people handling this situation? I feel like I'm missing something here...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2026 19:57:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174210#M56812</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-21T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174216#M56814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/167040"&gt;@dbernstein_tp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're not missing anything on the first part: Direct Lake needs a plain Delta table, and Fabric's Azure Databricks mirroring explicitly doesn't support materialized views or streaming tables. So some copy step is unavoidable for now. What you can fix is how the copy is done. A full overwrite of 50M rows every 15 minutes rewrites every file, which is what makes it slow and expensive and makes Direct Lake throw away its cache each time. Switch to an incremental MERGE so only changed files get rewritten.&lt;/P&gt;&lt;P&gt;1. Replace the overwrite with a MERGE that only touches rows that actually changed:&lt;/P&gt;&lt;P&gt;MERGE INTO gold_dl.sales t&lt;/P&gt;&lt;P&gt;USING gold.sales_mv s&lt;/P&gt;&lt;P&gt;ON t.id = s.id&lt;/P&gt;&lt;P&gt;WHEN MATCHED AND t.row_hash &amp;lt;&amp;gt; s.row_hash THEN UPDATE SET *&lt;/P&gt;&lt;P&gt;WHEN NOT MATCHED THEN INSERT *&lt;/P&gt;&lt;P&gt;WHEN NOT MATCHED BY SOURCE THEN DELETE;&lt;/P&gt;&lt;P&gt;(row_hash = xxhash64 or sha2 over the non-key columns, computed in the MV.) Reading the MV is cheap. The win is that unchanged files are left alone, so Direct Lake reframes as a metadata-only operation and keeps the column segments for unchanged data in memory, instead of re-transcoding the whole table. If the table is date-partitioned and only recent data changes, INSERT INTO ... REPLACE WHERE date &amp;gt;= current_date() - 2 is even cheaper.&lt;/P&gt;&lt;P&gt;2. Run it as a task right after the pipeline update in the same job, so it only runs when the MV actually refreshed.&lt;/P&gt;&lt;P&gt;3. Keep VACUUM retention on the copy table well above your refresh interval (the 7-day default is fine; don't lower it). Direct Lake reads the exact parquet files from its last framing, so vacuuming them too early is a common cause of the errors you're seeing on the big table after frequent overwrites.&lt;/P&gt;&lt;P&gt;Two alternatives, depending on the use case:&lt;/P&gt;&lt;P&gt;- If a gold table is append-only, write it from the pipeline straight into a regular Delta table with a sink (dp.create_sink plus an append flow) and skip the copy entirely.&lt;/P&gt;&lt;P&gt;- For dashboards that don't need Direct Lake speed, Power BI DirectQuery through the Databricks connector against a SQL warehouse reads MVs directly, with no copy. YOu can even build metric views which&amp;nbsp; are similar to semantic models&lt;/P&gt;&lt;P&gt;This is the only alternate approach I could apply&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2026 20:44:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174216#M56814</guid>
      <dc:creator>SumeshKashyap</dc:creator>
      <dc:date>2026-10-21T20:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174253#M56823</link>
      <description>&lt;P&gt;One approach worth exploring is whether you can eliminate the extra copy by exposing the Databricks gold tables to Fabric through the Mirrored Azure Databricks Catalog feature, then using Direct Lake against the supported mirrored tables.&lt;BR /&gt;If the current limitation is specifically around Lakeflow Materialized Views, I would first verify whether the MV results can be consumed through this integration in your environment. Fabric's Direct Lake support depends on the source type and integration path, so I wouldn't assume that every Databricks MV is directly supported.&lt;/P&gt;&lt;P&gt;If the MV itself cannot be consumed, another option is to maintain a physical Delta gold table as the pipeline output rather than materializing the MV and copying its results afterward. use physical Gold Delta tables in Databricks instead of Materialized Views.&lt;BR /&gt;For example, maintain curated tables such as gold.fact_sales and gold.dim_customer in Unity Catalog, then use Fabric's Mirrored Azure Databricks Catalog integration to expose supported tables to Power BI through Direct Lake.&lt;BR /&gt;This could eliminate the additional data-copying step and reduce refresh overhead. For tables updated every 15 minutes, incremental MERGE or append-based processing may also be more efficient than repeatedly overwriting 50M rows.&lt;BR /&gt;The Gold tables are supported by the chosen Fabric integration and Direct Lake mode. Gold-layer Delta tables stored in OneLake (inside a Fabric Lakehouse) are the primary and recommended source for Direct Lake semantic models. Direct Lake reads the underlying Delta/Parquet files directly from OneLake into the VertiPaq memory of Power BI without requiring an import copy or full data refresh cycles.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 06:20:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174253#M56823</guid>
      <dc:creator>Aravind_Reddy</dc:creator>
      <dc:date>2026-10-22T06:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174336#M56833</link>
      <description>&lt;P&gt;Thanks. I looked at MERGE INTO but it seemed extremely compute intensive and slow but I didn't do the hashing thing above so it was comparing every column in every row over the whole table.&lt;/P&gt;&lt;P&gt;We did try Direct Query but the PBI developers complained that it was too slow.&lt;/P&gt;&lt;P&gt;The gold tables are the results of complex queries on the cleaned data. A few of them just append rows but most are essentially snapshots of complex aggregations of the cleaned data.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 15:30:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174336#M56833</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-22T15:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174339#M56836</link>
      <description>&lt;P&gt;Thanks for your response. I had not heard of MLVs. Do you have real world experience with getting this to work? I would like to hear more details about it.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 15:34:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174339#M56836</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-22T15:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174350#M56837</link>
      <description>&lt;P&gt;Apparently these mirrored catalogs are part of the Direct Lake set up so in effect they are already in use here.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 16:22:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174350#M56837</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-22T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174356#M56838</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/192097"&gt;@SumeshKashyap&lt;/a&gt;&amp;nbsp;Should I be worried about hash collisions using this approach? Some of the tables needed for this have 50+ columns.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 17:50:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174356#M56838</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-22T17:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174362#M56839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/167040"&gt;@dbernstein_tp&lt;/a&gt;, no real worry. The hash is only compared for the same key (old vs new version of one row), not across the table, so with xxhash64 the odds of a missed update are about 1 in 10^19 per row, and 50+ columns doesn't change that. One gotcha: xxhash64 skips nulls, so (null, 1) and (1, null) hash the same. If you want zero doubt, use sha2(to_json(struct(&amp;lt;non-key cols&amp;gt;)), 256), which is null- and position-safe.&lt;/P&gt;&lt;P&gt;On MERGE cost: with the hash it compares one column instead of 50+, and since most rows in a snapshot aggregate don't change between runs, only files holding changed rows get rewritten. Also cluster the target on the merge key (CLUSTER BY id) so MERGE prunes files instead of scanning the whole table.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 19:03:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174362#M56839</guid>
      <dc:creator>SumeshKashyap</dc:creator>
      <dc:date>2026-10-22T19:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174366#M56843</link>
      <description>&lt;P&gt;Hello dbernstein_tp, I took a look at both internal and external documentation and here is what I found.&lt;/P&gt;
&lt;P&gt;You're not missing anything. The Fabric Mirrored Azure Databricks Catalog item (including the newer Publish to OneLake button in Catalog Explorer) only mirrors regular Unity Catalog managed and external Delta tables. Views, materialized views, and streaming tables are all on the unsupported list. Aravind_Reddy's advice to serve Fabric from physical gold tables is the right call; mirroring the catalog alone won't surface a Databricks MV, and the Fabric Materialized Lake View suggestion is a Fabric-side pattern, not a way to expose the Databricks object.&lt;/P&gt;
&lt;P&gt;The why matters here. A Lakeflow Spark Declarative Pipelines MV is Delta-backed, but its underlying files can carry extra data from upstream tables to support incremental refresh, so only Databricks compute reads them correctly. A plain Delta serving table is still required today. Three things make that less painful than what you have now.&lt;/P&gt;
&lt;P&gt;Compatibility Mode (Public Preview). This is Databricks doing the copy for you. Two table properties on the MV definition and Databricks maintains a read-only, plain Delta version at an external location you choose.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-sql"&gt;CREATE OR REFRESH MATERIALIZED VIEW gold.my_mv
TBLPROPERTIES (
  'delta.universalFormat.enabledFormats' = 'compatibility',
  'delta.universalFormat.compatibility.location' = 'abfss://&amp;lt;container&amp;gt;@&amp;lt;account&amp;gt;.dfs.core.windows.net/&amp;lt;empty-path&amp;gt;'
) AS SELECT ...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For MVs the copy refreshes after each update with new commits and runs on Predictive Optimization compute, so it comes off your pipeline's critical path. Point an ADLS Gen2 shortcut at that location and build Direct Lake on OneLake on it. Caveats: you still pay storage plus the Predictive Optimization DBUs, and the compatibility version has no time travel or change data feed. I haven't confirmed the mirrored catalog item picks these up, so use a plain ADLS shortcut, and test refresh behavior on the 50M-row table before committing. You may also see "external data access for pipeline datasets," the no-copy option; skip it, since the docs state reading from Microsoft Fabric is not supported.&lt;/P&gt;
&lt;P&gt;Fix the copy you already have. A &lt;CODE&gt;CREATE OR REPLACE&lt;/CODE&gt; every 15 minutes rewrites every Parquet file. Direct Lake only drops column segments during framing that belong to removed row groups, so when every row group is removed, every query after that framing starts cold and transcodes 50M rows again. That's very likely the trouble you're seeing. Replace the overwrite with a &lt;CODE&gt;MERGE&lt;/CODE&gt; or a partition-scoped replacement on the affected keys or dates. SumeshKashyap's row fingerprint idea cuts the cost of all-column comparisons, though it's change detection, not a correctness guarantee. Use &lt;CODE&gt;WHEN NOT MATCHED BY SOURCE THEN DELETE&lt;/CODE&gt; only when the source is a complete, authoritative snapshot and deletes are intended. If most of the 50M rows change every 15 minutes, MERGE may still be heavy; make the aggregation incremental, publish only affected groups, or relax the cadence. Cluster the target on the merge keys, benchmark with Photon rather than assuming, and keep the file count low with &lt;CODE&gt;OPTIMIZE&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;Take Direct Lake out of the picture for these tables. The Fabric limitations don't apply when you use Power BI DirectQuery against Unity Catalog data, and MVs are first-class on a Databricks SQL warehouse. Publish to Power BI from Catalog Explorer builds the semantic model for you. The trade is warehouse query cost versus Fabric capacity.&lt;/P&gt;
&lt;P&gt;If I were in your shoes I'd try Compatibility Mode on one gold MV and, in parallel, swap the 15-minute overwrite for a MERGE. The second fix helps no matter which route you pick.&lt;/P&gt;
&lt;P&gt;References:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Fabric mirroring limitations: &lt;A href="https://learn.microsoft.com/en-us/fabric/mirroring/azure-databricks-limitations" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/mirroring/azure-databricks-limitations&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Mirroring Azure Databricks Unity Catalog: &lt;A href="https://learn.microsoft.com/en-us/fabric/mirroring/azure-databricks" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/mirroring/azure-databricks&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Databricks guidance on Fabric reading Unity Catalog data: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/partners/bi/fabric-mirror" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/partners/bi/fabric-mirror&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Compatibility Mode: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/external-access/compatibility-mode" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/external-access/compatibility-mode&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;External data access for MVs and streaming tables: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/external-access/external-for-pipelines" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/external-access/external-for-pipelines&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;How Direct Lake works: &lt;A href="https://learn.microsoft.com/en-us/fabric/fundamentals/direct-lake-how-it-works" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/fundamentals/direct-lake-how-it-works&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Delta Lake best practices: &lt;A href="https://docs.databricks.com/aws/en/delta/best-practices" target="_blank"&gt;https://docs.databricks.com/aws/en/delta/best-practices&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Low-shuffle MERGE: &lt;A href="https://docs.databricks.com/aws/en/optimizations/low-shuffle-merge" target="_blank"&gt;https://docs.databricks.com/aws/en/optimizations/low-shuffle-merge&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Power BI with Azure Databricks: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/partners/bi/power-bi/" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/partners/bi/power-bi/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Louis&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 19:23:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174366#M56843</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-10-22T19:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174368#M56844</link>
      <description>&lt;P&gt;Thanks! I don't see the compatibility mode in either the workspace or account previews. How do I turn it on?&lt;/P&gt;&lt;P&gt;Is it related to this:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/partners/bi/fabric-publish" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/partners/bi/fabric-publish&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 19:41:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174368#M56844</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-22T19:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174384#M56846</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/34815"&gt;@Louis_Frolio&lt;/a&gt;&amp;nbsp;see above please.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2026 23:16:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174384#M56846</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-22T23:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174411#M56850</link>
      <description>&lt;P&gt;There's no preview toggle for this, which is why you don't see it in the workspace or account previews. For an MV, Compatibility Mode is set with the two table properties Louis showed, when the MV is created. The docs only document ALTER TABLE for managed tables, not for an existing MV, so I'd try it on a new test MV before counting on switching the current one in place.&lt;/P&gt;&lt;P&gt;The prerequisites are easy to miss. The target path must exist, be empty and sit under a UC external location. You need CREATE EXTERNAL TABLE on that location. And the path can't have been used as a Compatibility Mode location for another table in the last 7 days. The first version can take up to an hour to show up.&lt;/P&gt;&lt;P&gt;Once it's there, compare a known source version with the compatibility output and time how long Fabric takes to see a refresh. It's still a read-only copy, so the storage cost stays.&lt;/P&gt;&lt;P&gt;The page in your link is about publishing a UC catalog to Fabric as mirrored tables. That's a separate setup from Compatibility Mode.&lt;/P&gt;&lt;P&gt;Docs: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/external-access/compatibility-mode" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/external-access/compatibility-mode&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2026 09:09:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174411#M56850</guid>
      <dc:creator>Jen_Evangelista</dc:creator>
      <dc:date>2026-10-23T09:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174692#M56892</link>
      <description>&lt;P&gt;On the open question about an existing MV: the docs only describe setting those two properties when the MV is created. So I'd treat it as a create-time setting and not count on ALTER working on an existing MV. What I'd do:&lt;/P&gt;&lt;P&gt;1. Add the properties to the MV definition in the pipeline code (TBLPROPERTIES), deploy it to a dev pipeline and let it run a full refresh.&lt;/P&gt;&lt;P&gt;2. In Fabric, check whether the table shows up in the mirrored catalog and whether Direct Lake loads it without falling back to DirectQuery.&lt;/P&gt;&lt;P&gt;3. Only then roll it out to prod, and plan for the full refresh that a definition change can trigger.&lt;/P&gt;&lt;P&gt;If it doesn't show up, your current plain Delta copy with a hash-based MERGE is still the reliable route.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2026 21:03:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174692#M56892</guid>
      <dc:creator>suranga</dc:creator>
      <dc:date>2026-10-26T21:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174873#M56933</link>
      <description>&lt;P&gt;As a follow up to this: I implemented the MERGE INTO scheme on the one large table we have (50M rows). It does indeed write changes to only a small number of rows per job run, typically a few thousand. BUT the MERGE INTO code is much slower than REPLACE when run in the job: 7-8 minutes compared with 2-3 minutes for REPLACE. When I run the exact same notebook code manually it is much faster, maybe 3 minutes instead of 8. Why is the same notebook running so much slower as part of a job than when run manually?&lt;/P&gt;&lt;P&gt;The 8 minute run time for the one MERGE operation is going to kill the performance of the job as a whole.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2026 19:08:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/174873#M56933</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-10-28T19:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175262#M56976</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/167040"&gt;@dbernstein_tp&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Good to hear the MERGE is only touching a few thousand rows now. That's the part that matters for Direct Lake. On the job vs manual timing, the same code running at very different speeds almost always means it isn't running on the same compute or under the same conditions. Here's what I'd check.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Compare the compute side by side&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Open the job run and the interactive notebook and check what each one actually ran on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Serverless job with "Performance optimized" turned off. That's the standard performance mode, and the docs say it uses less compute to cut cost and has a slower start. If your manual runs are on serverless notebooks or a warm all-purpose cluster, that alone can explain a 2–3x gap. The toggle is in the job details panel and only affects serverless tasks.&lt;/LI&gt;&lt;LI&gt;Job cluster vs all-purpose cluster. Check node type, number of workers, autoscaling, and whether Photon is on for both. A job cluster that is smaller or has Photon off will be noticeably slower on a MERGE.&lt;/LI&gt;&lt;LI&gt;Cold vs warm. When you run it by hand you've often just run it before, so the disk cache already holds the target files. A fresh job cluster starts cold every time.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;2. See where the time goes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Delta records metrics for every MERGE, so you can compare a job run and a manual run directly:&lt;/P&gt;&lt;PRE&gt;SELECT
  version,
  timestamp,
  operationMetrics.executionTimeMs,
  operationMetrics.scanTimeMs,
  operationMetrics.rewriteTimeMs,
  operationMetrics.numTargetFilesRemoved,
  operationMetrics.numTargetFilesAdded,
  operationMetrics.numTargetRowsCopied,
  operationMetrics.numTargetRowsUpdated
FROM (DESCRIBE HISTORY gold_dl.sales)
WHERE operation = 'MERGE'
ORDER BY version DESC
LIMIT 10;&lt;/PRE&gt;&lt;P&gt;If scanTimeMs dominates, the time goes into reading the table, which points at compute size and caching. If rewriteTimeMs and numTargetRowsCopied are high, MERGE is rewriting whole files to change a few rows. For the job run you can also open the run, click Timeline, expand the task and click the MERGE statement to get the full query profile.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Make the MERGE itself cheaper&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;These help no matter where it runs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WHEN NOT MATCHED BY SOURCE THEN DELETE means MERGE has to look at the whole target to find rows that disappeared. If deletes are rare for this table, consider handling them in a separate, less frequent step.&lt;/LI&gt;&lt;LI&gt;Turn on deletion vectors on the target if they aren't already. Then a changed row is marked instead of its whole file being rewritten, so numTargetRowsCopied should drop a lot:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;ALTER TABLE gold_dl.sales SET TBLPROPERTIES ('delta.enableDeletionVectors' = true);&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Cluster the target on the merge key, as Sumesh mentioned (ALTER TABLE gold_dl.sales CLUSTER BY (id), then OPTIMIZE), so the join can skip files.&lt;/LI&gt;&lt;LI&gt;Compute row_hash inside the MV, so the MERGE doesn't hash 50+ columns on every run.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;One thing to check against Direct Lake: deletion vectors are part of the Delta protocol, so make sure your Fabric/Direct Lake side reads tables with deletion vectors before turning them on in prod. Try it on a copy first.&lt;/P&gt;&lt;P&gt;If you can share the compute settings for both runs and the operationMetrics rows, it should be quick to narrow down.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2026 11:48:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175262#M56976</guid>
      <dc:creator>Isaac_18</dc:creator>
      <dc:date>2026-11-01T11:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175635#M57027</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248220"&gt;@Isaac_18&lt;/a&gt;&amp;nbsp;thanks for that response. Let's see: I'm already clustering the table on a primary key, performance optimization is turned on and it is a serverless job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The warm up thing makes sense, that might be the main cause.&lt;/P&gt;&lt;P&gt;I didn't know about deletion vectors, I will test that this week.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 21:53:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175635#M57027</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-11-04T21:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175636#M57028</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/34815"&gt;@Louis_Frolio&lt;/a&gt;&amp;nbsp;So I checked out compatibility mode. It does seem to work using the right set up and table properties in the pipeline code. However here's the problem: the tables in question are gold tables produced by complex sql queries on silver data. The declarative pipeline cannot figure out how to do incremental refreshes of these tables so most of them are fully refreshed every time. But when this happens the compatibility mode table is also fully overwritten. Hence we are back to tables being fully replaced at every refresh.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 21:57:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175636#M57028</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-11-04T21:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175723#M57045</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248220"&gt;@Isaac_18&lt;/a&gt;&amp;nbsp; Enabling deletion vectors did not affect the readability of the table in Fabric via Direct Lake. However at least in the one critical table I tried it on it also didn't move the needle on the MERGE INTO time.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2026 20:31:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175723#M57045</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-11-05T20:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175826#M57066</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/167040"&gt;@dbernstein_tp&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for testing all of that and reporting back. Good to know deletion vectors didn't upset Direct Lake.&lt;/P&gt;&lt;P&gt;I think your two findings are really the same problem. If most of the gold MVs are fully recomputed on every update, each refresh writes a completely new set of files. That's why the compatibility copy gets rewritten every time, and it's probably part of why the MERGE stays slow too: every run reads a 50M-row source that nothing has cached yet, on serverless compute that starts cold. Deletion vectors only make the write side cheaper, so it makes sense they didn't change the runtime.&lt;/P&gt;&lt;P&gt;Two things I'd look at next:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Find out why those MVs aren't refreshing incrementally.&lt;/STRONG&gt; In the pipeline editor, the Tables panel has an Incrementalization column, and when something blocked an incremental refresh there's an insight next to it explaining what. You can also ask the event log directly:&lt;/P&gt;&lt;PRE&gt;SELECT timestamp, message
FROM event_log(TABLE(gold.sales_mv))
WHERE event_type = 'planning_information'
ORDER BY timestamp DESC;&lt;/PRE&gt;&lt;P&gt;One of the common fixes in the docs is turning on row tracking for the source (silver) tables:&lt;/P&gt;&lt;PRE&gt;ALTER TABLE silver.your_table SET TBLPROPERTIES (delta.enableRowTracking = true);&lt;/PRE&gt;&lt;P&gt;If you want the blocker spelled out, try REFRESH POLICY INCREMENTAL STRICT on a dev copy of the MV. The update then fails instead of quietly falling back to a full recompute, which makes the cause visible. If the big MV can refresh incrementally, far less changes per refresh, and you might not need the MERGE copy at all.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. If the warm-up really is the main cost, run the copy on a SQL warehouse.&lt;/STRONG&gt; Make it a SQL task on a warehouse with auto stop set longer than your 15-minute schedule. The warehouse then stays up between runs, keeps the target's files in its local disk cache (that cache is only cleared when the warehouse stops) and always runs Photon. It's a cost trade-off, since the warehouse is effectively always on, so I'd compare it with what the job costs you today.&lt;/P&gt;&lt;P&gt;If you post the planning_information output for the big MV, I'm happy to take a look.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Suranga&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2026 21:59:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175826#M57066</guid>
      <dc:creator>suranga</dc:creator>
      <dc:date>2026-11-06T21:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: MS Fabric Direct Lake, works with delta tables only?</title>
      <link>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175993#M57084</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/195849"&gt;@suranga&lt;/a&gt;&amp;nbsp;Thanks so much! I wasn't aware of row tracking. The silver tables are primarily cleaned tables from a lakeflow connect CDC ingestion (from a SQL server). Does this mean the corresponding bronze tables should also have row tracking turned on?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2026 16:50:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ms-fabric-direct-lake-works-with-delta-tables-only/m-p/175993#M57084</guid>
      <dc:creator>dbernstein_tp</dc:creator>
      <dc:date>2026-11-09T16:50:28Z</dc:date>
    </item>
  </channel>
</rss>

