<?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: Comments not updating on a SDP streaming table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142351#M51925</link>
    <description>&lt;P&gt;Ah, my code is correct. There was just a mistake further up when producing the comments that lead me down the wrong path. Comments (and metadata) are correctly updated as expected!&lt;/P&gt;</description>
    <pubDate>Mon, 22 Dec 2025 11:43:39 GMT</pubDate>
    <dc:creator>liquibricks</dc:creator>
    <dc:date>2025-12-22T11:43:39Z</dc:date>
    <item>
      <title>Comments not updating on a SDP streaming table</title>
      <link>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142339#M51918</link>
      <description>&lt;P&gt;We have a pipeline in a job which dynamically creates a set of streaming tables based on a list of kafka topics like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# inside a loop&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/25059"&gt;@DP&lt;/a&gt;.table&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;=table_name&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;comment&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;markdown_info&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;topic_flow&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;topic_name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;topic_name):&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; read_from_kafka(important_parameters)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But it seems as if there is a change to some metadata inside `markdown_info` that the underlying table is not updated when the pipeline restarts. Is this known / expected behaviour? Is there any way to update the comment without having to recreate the table?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Dec 2025 08:39:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142339#M51918</guid>
      <dc:creator>liquibricks</dc:creator>
      <dc:date>2025-12-22T08:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Comments not updating on a SDP streaming table</title>
      <link>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142340#M51919</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/186868"&gt;@liquibricks&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it is a known and expected behaviour that changing the comment value passed to the &lt;STRONG&gt;@DP.table&lt;/STRONG&gt; decorator (or similar DLT table decorators) does not automatically update the physical table's comment in the underlying catalogue when the pipeline is restarted or updated, if the table already exists. Once a streaming table is created, metadata set at creation such as the table comment, remains attached to the table unless explicitly changed using supported metadata-altering operations&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In&lt;SPAN&gt;&amp;nbsp;SDP/DLT streaming tables, Databricks&amp;nbsp;&lt;STRONG&gt;blocks direct DDL changes&lt;/STRONG&gt;&amp;nbsp;to schema/properties (including table comments) outside the pipeline to maintain metadata consistency&lt;/SPAN&gt;&amp;nbsp;with the pipeline definition. If you try &lt;CODE data-start="365" data-end="383"&gt;COMMENT ON TABLE&lt;/CODE&gt;, Databricks throws an error and tells you to use &lt;STRONG data-start="433" data-end="454"&gt;CREATE OR REFRESH&lt;/STRONG&gt; instead.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Doc:&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://kb.databricks.com/en_US/delta-live-tables/unable-to-modify-comments-on-streaming-tables" target="_blank"&gt;https://kb.databricks.com/en_US/delta-live-tables/unable-to-modify-comments-on-streaming-tables&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So the only way to fix this is to&amp;nbsp;update the comment &lt;STRONG data-start="445" data-end="469"&gt;in the pipeline code&lt;/STRONG&gt; instead then run a pipeline update for it two work&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 09:17:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142340#M51919</guid>
      <dc:creator>K_Anudeep</dc:creator>
      <dc:date>2025-12-22T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Comments not updating on a SDP streaming table</title>
      <link>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142346#M51922</link>
      <description>&lt;P&gt;Thanks for the reply. In our case the comment (in "markdown_info") is updated as part of the pipeline, however the updated value is not reflected in Unity Catalog. What did you mean by "update the comment&amp;nbsp;in the pipeline code&amp;nbsp;instead then run a pipeline update"?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 10:12:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142346#M51922</guid>
      <dc:creator>liquibricks</dc:creator>
      <dc:date>2025-12-22T10:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comments not updating on a SDP streaming table</title>
      <link>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142351#M51925</link>
      <description>&lt;P&gt;Ah, my code is correct. There was just a mistake further up when producing the comments that lead me down the wrong path. Comments (and metadata) are correctly updated as expected!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 11:43:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/comments-not-updating-on-a-sdp-streaming-table/m-p/142351#M51925</guid>
      <dc:creator>liquibricks</dc:creator>
      <dc:date>2025-12-22T11:43:39Z</dc:date>
    </item>
  </channel>
</rss>

