<?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 Re: Safe Update Strategy for Online Feature Store Without Endpoint Disruption in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135846#M4358</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Additional Context:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The feature spec created from the synced table is served through an endpoint, and we need to keep the &lt;STRONG&gt;same endpoint URL&lt;/STRONG&gt; for consumers.&lt;/LI&gt;&lt;LI&gt;After schema changes, we currently &lt;STRONG&gt;recreate the synced table and feature spec with the same names&lt;/STRONG&gt; before updating the endpoint.&lt;/LI&gt;&lt;LI&gt;Even after updates, the endpoint sometimes breaks or becomes irrecoverable.&lt;/LI&gt;&lt;LI&gt;We have steps in place to &lt;STRONG&gt;clean up the Postgres datastore&lt;/STRONG&gt; during synced table deletions, so the issue is not with leftover data but with the binding between the endpoint and feature spec.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 23 Oct 2025 13:36:01 GMT</pubDate>
    <dc:creator>VivekWV</dc:creator>
    <dc:date>2025-10-23T13:36:01Z</dc:date>
    <item>
      <title>Safe Update Strategy for Online Feature Store Without Endpoint Disruption</title>
      <link>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135813#M4357</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We are implementing &lt;STRONG&gt;Databricks Online Feature Store&lt;/STRONG&gt; using Lakebase architecture and have run into some constraints during development:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirements:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Deploy an offline table as a synced online table and create a feature spec that queries from this online table.&lt;/LI&gt;&lt;LI&gt;During development, schema changes occur frequently (columns renamed or removed).&lt;/LI&gt;&lt;LI&gt;After schema changes, we need to redeploy the endpoint with the updated online table and feature spec.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt; When an endpoint is running and we delete/recreate the online table and feature spec (to reflect schema changes), the endpoint breaks. In some cases, it even becomes irrecoverable.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Constraints:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Cannot create two online tables for the same offline table.&lt;/LI&gt;&lt;LI&gt;Deleting and recreating binding resources (online table + feature spec) disrupts the endpoint.&lt;/LI&gt;&lt;LI&gt;We need to keep a &lt;STRONG&gt;stable endpoint URL&lt;/STRONG&gt; for consumers (cannot create multiple shadow endpoints).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; What is the recommended approach to &lt;STRONG&gt;safely update the online store and feature spec without causing downtime or breaking the endpoint&lt;/STRONG&gt;? Is there a supported pattern for atomic updates or versioning in Databricks Feature Store?&lt;/P&gt;&lt;P&gt;Thanks for your guidance!&lt;BR /&gt;#lakehouse #databricksonlinefeaturestore #syncedtable #postgres #onlinefeaturestore&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 10:45:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135813#M4357</guid>
      <dc:creator>VivekWV</dc:creator>
      <dc:date>2025-10-23T10:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Safe Update Strategy for Online Feature Store Without Endpoint Disruption</title>
      <link>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135846#M4358</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Additional Context:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The feature spec created from the synced table is served through an endpoint, and we need to keep the &lt;STRONG&gt;same endpoint URL&lt;/STRONG&gt; for consumers.&lt;/LI&gt;&lt;LI&gt;After schema changes, we currently &lt;STRONG&gt;recreate the synced table and feature spec with the same names&lt;/STRONG&gt; before updating the endpoint.&lt;/LI&gt;&lt;LI&gt;Even after updates, the endpoint sometimes breaks or becomes irrecoverable.&lt;/LI&gt;&lt;LI&gt;We have steps in place to &lt;STRONG&gt;clean up the Postgres datastore&lt;/STRONG&gt; during synced table deletions, so the issue is not with leftover data but with the binding between the endpoint and feature spec.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 23 Oct 2025 13:36:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135846#M4358</guid>
      <dc:creator>VivekWV</dc:creator>
      <dc:date>2025-10-23T13:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Safe Update Strategy for Online Feature Store Without Endpoint Disruption</title>
      <link>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135963#M4364</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The recommended way to safely update an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;online Databricks Feature Store&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;without breaking the serving endpoint or causing downtime involves a version-controlled, atomic update pattern that preserves schema consistency and endpoint stability.&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Key Issue&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;When an online feature table is deleted and recreated due to a schema change, the associated&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;endpoint and feature spec lose binding references&lt;/STRONG&gt;, rendering the endpoint unstable. Databricks currently does not support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;true in-place schema replacement&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for synced online tables — any schema change to the offline Delta source requires synchronization through a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;publish or merge update&lt;/STRONG&gt;, not recreation.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Recommended Approach&lt;/H2&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;1. Use Incremental Schema Evolution&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Delta Tables&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;schema evolution&lt;/EM&gt;, allowing columns to be added or updated without deleting the table. You can use:​&lt;/P&gt;
&lt;DIV class="w-full md:max-w-[90vw]"&gt;
&lt;DIV class="codeWrapper text-light selection:text-super selection:bg-super/10 my-md relative flex flex-col rounded font-mono text-sm font-normal bg-subtler"&gt;
&lt;DIV class="translate-y-xs -translate-x-xs bottom-xl mb-xl flex h-0 items-start justify-end md:sticky md:top-[100px]"&gt;
&lt;DIV class="overflow-hidden rounded-full border-subtlest ring-subtlest divide-subtlest bg-base"&gt;
&lt;DIV class="border-subtlest ring-subtlest divide-subtlest bg-subtler"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="-mt-xl"&gt;
&lt;DIV&gt;
&lt;DIV class="text-quiet bg-subtle py-xs px-sm inline-block rounded-br rounded-tl-[3px] font-thin" data-testid="code-language-indicator"&gt;python&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;CODE&gt;fs&lt;SPAN class="token token punctuation"&gt;.&lt;/SPAN&gt;write_table&lt;SPAN class="token token punctuation"&gt;(&lt;/SPAN&gt;
    name&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token token"&gt;"catalog.schema.feature_table"&lt;/SPAN&gt;&lt;SPAN class="token token punctuation"&gt;,&lt;/SPAN&gt;
    df&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;new_feature_df&lt;SPAN class="token token punctuation"&gt;,&lt;/SPAN&gt;
    mode&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token token"&gt;"merge"&lt;/SPAN&gt;  &lt;SPAN class="token token"&gt;# merges updates safely&lt;/SPAN&gt;
&lt;SPAN class="token token punctuation"&gt;)&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This approach updates the schema and data without breaking existing bindings between the offline and online tables.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;2. Republish or Refresh Features Atomically&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Instead of deleting the online table, use:&lt;/P&gt;
&lt;DIV class="w-full md:max-w-[90vw]"&gt;
&lt;DIV class="codeWrapper text-light selection:text-super selection:bg-super/10 my-md relative flex flex-col rounded font-mono text-sm font-normal bg-subtler"&gt;
&lt;DIV class="translate-y-xs -translate-x-xs bottom-xl mb-xl flex h-0 items-start justify-end md:sticky md:top-[100px]"&gt;
&lt;DIV class="overflow-hidden rounded-full border-subtlest ring-subtlest divide-subtlest bg-base"&gt;
&lt;DIV class="border-subtlest ring-subtlest divide-subtlest bg-subtler"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="-mt-xl"&gt;
&lt;DIV&gt;
&lt;DIV class="text-quiet bg-subtle py-xs px-sm inline-block rounded-br rounded-tl-[3px] font-thin" data-testid="code-language-indicator"&gt;python&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;CODE&gt;fe&lt;SPAN class="token token punctuation"&gt;.&lt;/SPAN&gt;publish_table&lt;SPAN class="token token punctuation"&gt;(&lt;/SPAN&gt;
    source_table_name&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token token"&gt;"catalog.schema.feature_table"&lt;/SPAN&gt;&lt;SPAN class="token token punctuation"&gt;,&lt;/SPAN&gt;
    online_table_name&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token token"&gt;"catalog.schema.online_table"&lt;/SPAN&gt;&lt;SPAN class="token token punctuation"&gt;,&lt;/SPAN&gt;
    online_store&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;online_store&lt;SPAN class="token token punctuation"&gt;,&lt;/SPAN&gt;
    mode&lt;SPAN class="token token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token token"&gt;"merge"&lt;/SPAN&gt;
&lt;SPAN class="token token punctuation"&gt;)&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;CODE&gt;mode="merge"&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ensures the online table schema and data are updated incrementally while keeping its identity (and thus the endpoint bindings) intact. This prevents downtime and maintains endpoint stability.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;3. Use Lakeflow Jobs for Continuous Sync&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;If schema changes or feature updates are frequent, schedule&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Lakeflow Jobs&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to regularly call&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;publish_table&lt;/CODE&gt;. This approach makes the feature update process continuous and fault-tolerant without manual deletion or recreation.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;4. Maintain Versioned Feature Specs&lt;/H2&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks recommends maintaining&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;versioned feature specifications&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(for example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;feature_spec_v1&lt;/CODE&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;feature_spec_v2&lt;/CODE&gt;), while keeping a constant&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;endpoint mapping&lt;/STRONG&gt;. During deployment, update the endpoint’s configuration reference to the new spec version atomically. The endpoint name and URL remain unchanged.​&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Practical Schema Evolution Workflow&lt;/H2&gt;
&lt;OL class="marker:text-quiet list-decimal"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Update offline Delta table schema&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(enable CDF if not already set).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Write or merge new features&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using schema evolution.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Republish&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the updated offline table to the online store using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;mode="merge"&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Update the feature spec version&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;— do not delete the online table.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Redeploy endpoint&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;referencing the new feature spec (same URL).&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Summary Table&lt;/H2&gt;
&lt;DIV class="group relative"&gt;
&lt;DIV class="w-full overflow-x-auto md:max-w-[90vw] border-subtlest ring-subtlest divide-subtlest bg-transparent"&gt;
&lt;TABLE class="border-subtler my-[1em] w-full table-auto border-separate border-spacing-0 border-l border-t"&gt;
&lt;THEAD class="bg-subtler"&gt;
&lt;TR&gt;
&lt;TH class="border-subtler p-sm break-normal border-b border-r text-left align-top"&gt;Problem&lt;/TH&gt;
&lt;TH class="border-subtler p-sm break-normal border-b border-r text-left align-top"&gt;Corrective Practice&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Schema change causes endpoint breakage&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Use Delta schema evolution with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;mode="merge"&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Need uninterrupted endpoint (stable URL)&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Reuse endpoint, only version feature spec&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Frequent schema changes&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Use Lakeflow jobs for automated sync&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Avoid dual tables for one offline source&lt;/TD&gt;
&lt;TD class="px-sm border-subtler min-w-[48px] break-normal border-b border-r"&gt;Use incremental&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;publish_table&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to preserve online identity&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;DIV class="bg-base border-subtler shadow-subtle pointer-coarse:opacity-100 right-xs absolute bottom-0 flex rounded-lg border opacity-0 transition-opacity group-hover:opacity-100 [&amp;amp;&amp;gt;*:not(:first-child)]:border-subtle [&amp;amp;&amp;gt;*:not(:first-child)]:border-l"&gt;
&lt;DIV class="flex"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="flex"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This workflow ensures atomic updates, zero downtime, and endpoint continuity while enabling schema flexibility under Databricks’ Online Feature Store using Lakebase architecture.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 14:09:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/135963#M4364</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-10-24T14:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Safe Update Strategy for Online Feature Store Without Endpoint Disruption</title>
      <link>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/136143#M4370</link>
      <description>&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. I followed the steps you suggested:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Created the table and set primary key + time series key constraints.&lt;/LI&gt;&lt;LI&gt;Enabled Change Data Feed.&lt;/LI&gt;&lt;LI&gt;Created the feature table and deployed the online endpoint — this worked fine.&lt;/LI&gt;&lt;LI&gt;Removed some columns from the offline table and updated it using:&lt;BR /&gt;spark_df.write.mode("overwrite").option("overwriteSchema", "true").saveAsTable(f"{table_name}")&lt;/LI&gt;&lt;LI&gt;Updated the feature table using:&lt;BR /&gt;fe.write_table(name=feature_store_name, df=df, mode="merge")&lt;/LI&gt;&lt;LI&gt;Tried re-publishing to the online store using:&lt;BR /&gt;fe.publish_table(source_table_name=feature_store_list, online_table_name="catlog_dev.abcd.fs_table_online", online_store=pg_store, mode="merge")&lt;BR /&gt;— this step &lt;STRONG&gt;failed&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;A LakeFlow pipeline was triggered and threw the following error:&lt;/P&gt;&lt;PRE&gt;org.apache.spark.sql.streaming.StreamingQueryException: [STREAM_FAILED] 
... [DELTA_SCHEMA_CHANGED_WITH_STARTING_OPTIONS] Detected schema change in version 7&lt;/PRE&gt;&lt;P&gt;It seems the schema change isn’t being handled during re-publication. I’ve attached the full error message. Let me know if you need more details or logs.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 08:42:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/safe-update-strategy-for-online-feature-store-without-endpoint/m-p/136143#M4370</guid>
      <dc:creator>VivekWV</dc:creator>
      <dc:date>2025-10-27T08:42:53Z</dc:date>
    </item>
  </channel>
</rss>

