<?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 Lakebase synced table doesn’t recognize Auto CDF on a SDP materialized view in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/lakebase-synced-table-doesn-t-recognize-auto-cdf-on-a-sdp/m-p/165624#M55463</link>
    <description>&lt;P class=""&gt;I’m trying to create a triggered Lakebase synced table from a SDP-created materialized view.&lt;/P&gt;&lt;P class=""&gt;The source MV uses Automatic CDF: row tracking is enabled and legacy CDF (delta.enableChangeDataFeed) is disabled. The Automatic CDF workspace preview is enabled (says GA now)&lt;/P&gt;&lt;P class=""&gt;The producer pipeline is configured with the PREVIEW channel and pipelines.externalMetadata.enabled=true. I recreated and reran the pipeline successfully.&lt;/P&gt;&lt;P class=""&gt;However, synced-table creation still says that Change Data Feed is required and suggests running ALTER TABLE ... SET TBLPROPERTIES (delta.enableChangeDataFeed=true). That would enable legacy CDF, and ALTER TABLE also cannot be used because the source is a materialized view.&lt;/P&gt;&lt;P class=""&gt;Does Lakebase synced-table creation support Automatic CDF for pipeline-created materialized views? If so, how should pipeline_channel=PREVIEW be configured for the managed sync pipeline?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2026 14:34:11 GMT</pubDate>
    <dc:creator>batch_bender</dc:creator>
    <dc:date>2026-08-13T14:34:11Z</dc:date>
    <item>
      <title>Lakebase synced table doesn’t recognize Auto CDF on a SDP materialized view</title>
      <link>https://community.databricks.com/t5/data-engineering/lakebase-synced-table-doesn-t-recognize-auto-cdf-on-a-sdp/m-p/165624#M55463</link>
      <description>&lt;P class=""&gt;I’m trying to create a triggered Lakebase synced table from a SDP-created materialized view.&lt;/P&gt;&lt;P class=""&gt;The source MV uses Automatic CDF: row tracking is enabled and legacy CDF (delta.enableChangeDataFeed) is disabled. The Automatic CDF workspace preview is enabled (says GA now)&lt;/P&gt;&lt;P class=""&gt;The producer pipeline is configured with the PREVIEW channel and pipelines.externalMetadata.enabled=true. I recreated and reran the pipeline successfully.&lt;/P&gt;&lt;P class=""&gt;However, synced-table creation still says that Change Data Feed is required and suggests running ALTER TABLE ... SET TBLPROPERTIES (delta.enableChangeDataFeed=true). That would enable legacy CDF, and ALTER TABLE also cannot be used because the source is a materialized view.&lt;/P&gt;&lt;P class=""&gt;Does Lakebase synced-table creation support Automatic CDF for pipeline-created materialized views? If so, how should pipeline_channel=PREVIEW be configured for the managed sync pipeline?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2026 14:34:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakebase-synced-table-doesn-t-recognize-auto-cdf-on-a-sdp/m-p/165624#M55463</guid>
      <dc:creator>batch_bender</dc:creator>
      <dc:date>2026-08-13T14:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase synced table doesn’t recognize Auto CDF on a SDP materialized view</title>
      <link>https://community.databricks.com/t5/data-engineering/lakebase-synced-table-doesn-t-recognize-auto-cdf-on-a-sdp/m-p/165626#M55465</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Short answer: No — Lakebase synced tables in Triggered/Continuous mode do not currently support Automatic CDF from materialized views. This is a documented limitation, not a configuration issue.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://learn.microsoft.com/en-us/azure/databricks/oltp/projects/sync-tables/" rel="noopener noreferrer" target="_blank"&gt;synced tables documentation&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;explicitly states:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;"Sources that do not support CDF (such as views, materialized views, and Iceberg tables) can only be synced in Snapshot mode."&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Why it doesn't work despite your correct setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Your producer pipeline configuration is correct for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;general&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CDF consumption (PREVIEW channel +&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;pipelines.externalMetadata.enabled=true&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;+ row tracking). This setup does allow reading CDF from a materialized view via&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;table_changes()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;STREAM ... WITH (readChangeFeed=true)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in your own custom pipelines.&lt;/P&gt;&lt;P&gt;However, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;managed sync pipeline&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that powers Lakebase synced tables only checks for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;legacy CDF&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;SPAN class=""&gt;delta.enableChangeDataFeed=true&lt;/SPAN&gt;) — it does not (yet) consume Automatic CDF. Since you can't&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ALTER TABLE ... SET TBLPROPERTIES&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on a materialized view, you hit a dead end.&lt;/P&gt;&lt;P&gt;Additionally, reading CDF from a materialized view is still in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://learn.microsoft.com/en-us/azure/databricks/ldp/cdc-advanced/" rel="noopener noreferrer" target="_blank"&gt;Beta&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;— so it's not surprising the managed sync pipeline hasn't integrated it yet.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workarounds:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use Snapshot mode&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;— works with materialized views today, no CDF required. Trade-off: full re-copy each sync, no incremental updates.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Replace the MV with a streaming table as your sync source&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;— streaming tables support legacy CDF and work with Triggered/Continuous synced tables. If your MV logic is simple enough, you may be able to express it as a streaming table with the same transformations.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Add an intermediate Delta table&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;— have your pipeline write results into a regular Delta table (with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;delta.enableChangeDataFeed=true&lt;/SPAN&gt;), then point the synced table at that instead of the MV.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;File a feature request&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;— this is a reasonable ask. The building blocks exist (Automatic CDF from MVs + synced table triggered mode), they just aren't wired together yet in the managed sync pipeline.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Setting&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;pipelines.channel=PREVIEW&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on the managed sync pipeline&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;won't help here — that config controls the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;producer&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pipeline's channel, but the sync pipeline is a separate managed pipeline that you don't directly configure at that level.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2026 15:26:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakebase-synced-table-doesn-t-recognize-auto-cdf-on-a-sdp/m-p/165626#M55465</guid>
      <dc:creator>GabFernandes</dc:creator>
      <dc:date>2026-08-13T15:26:17Z</dc:date>
    </item>
  </channel>
</rss>

