<?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 How to update comments and constraints on Streaming Tables created by DLT outside the pipeline? in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/how-to-update-comments-and-constraints-on-streaming-tables/m-p/132650#M10729</link>
    <description>&lt;P&gt;I have a Delta Live Tables (DLT) pipeline that creates a &lt;STRONG&gt;streaming table&lt;/STRONG&gt; (e.g., dbrtdflite_catalog.demotest_silver.customer_profile).&lt;BR /&gt;I want to update &lt;STRONG&gt;table-level and column-level comments&lt;/STRONG&gt; as well as &lt;STRONG&gt;constraints&lt;/STRONG&gt; on this table.&lt;/P&gt;&lt;P&gt;When I try commands like:&lt;BR /&gt;&lt;STRONG&gt;COMMENT ON TABLE dbrtdflite_catalog.demotest_silver.customer_profile IS 'Customer profile data';&lt;/STRONG&gt;&lt;BR /&gt;I get an error:&lt;BR /&gt;&lt;STRONG&gt;[STREAMING_TABLE_OPERATION_NOT_ALLOWED.INVALID_ALTER] The operation COMMENT ON TABLE is not allowed: To alter the schema or properties of Streaming Tables, please use the CREATE OR REFRESH command.&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Even I have tried updating constraints but seems it's not allowed.&lt;BR /&gt;&lt;BR /&gt;My requirement is to update comments/constraints &lt;STRONG&gt;outside of the DLT pipeline&lt;/STRONG&gt; (without modifying the pipeline code).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;- Is there any supported way to do this for DLT-managed streaming tables?&lt;BR /&gt;-&amp;nbsp; Or is the only option to make these changes inside the DLT pipeline definition itself?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Sep 2025 06:48:39 GMT</pubDate>
    <dc:creator>Nexusss7</dc:creator>
    <dc:date>2025-09-22T06:48:39Z</dc:date>
    <item>
      <title>How to update comments and constraints on Streaming Tables created by DLT outside the pipeline?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-update-comments-and-constraints-on-streaming-tables/m-p/132650#M10729</link>
      <description>&lt;P&gt;I have a Delta Live Tables (DLT) pipeline that creates a &lt;STRONG&gt;streaming table&lt;/STRONG&gt; (e.g., dbrtdflite_catalog.demotest_silver.customer_profile).&lt;BR /&gt;I want to update &lt;STRONG&gt;table-level and column-level comments&lt;/STRONG&gt; as well as &lt;STRONG&gt;constraints&lt;/STRONG&gt; on this table.&lt;/P&gt;&lt;P&gt;When I try commands like:&lt;BR /&gt;&lt;STRONG&gt;COMMENT ON TABLE dbrtdflite_catalog.demotest_silver.customer_profile IS 'Customer profile data';&lt;/STRONG&gt;&lt;BR /&gt;I get an error:&lt;BR /&gt;&lt;STRONG&gt;[STREAMING_TABLE_OPERATION_NOT_ALLOWED.INVALID_ALTER] The operation COMMENT ON TABLE is not allowed: To alter the schema or properties of Streaming Tables, please use the CREATE OR REFRESH command.&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Even I have tried updating constraints but seems it's not allowed.&lt;BR /&gt;&lt;BR /&gt;My requirement is to update comments/constraints &lt;STRONG&gt;outside of the DLT pipeline&lt;/STRONG&gt; (without modifying the pipeline code).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;- Is there any supported way to do this for DLT-managed streaming tables?&lt;BR /&gt;-&amp;nbsp; Or is the only option to make these changes inside the DLT pipeline definition itself?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 06:48:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-update-comments-and-constraints-on-streaming-tables/m-p/132650#M10729</guid>
      <dc:creator>Nexusss7</dc:creator>
      <dc:date>2025-09-22T06:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to update comments and constraints on Streaming Tables created by DLT outside the pipeline?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-update-comments-and-constraints-on-streaming-tables/m-p/132852#M10732</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-main"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-main-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV id="bodyDisplay_4" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/153056"&gt;@Nexusss7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add a comment in the delta live tables, either the MV or the streaming table, in the tag -&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97035" target="_blank" rel="noopener"&gt;@Dlt&lt;/A&gt;.table()&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97035" target="_blank" rel="noopener"&gt;@Dlt&lt;/A&gt;.table(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;comment = "Delta live tables comment"&lt;/P&gt;
&lt;P&gt;)&lt;BR /&gt;&lt;BR /&gt;Here is the syntax for SQL:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dlt-ref/dlt-sql-ref-create-materialized-view#syntax" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.databricks.com/aws/en/dlt-ref/dlt-sql-ref-create-materialized-view#syntax&lt;/A&gt;&lt;BR /&gt;Here is the syntax for Python:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dlt-ref/dlt-python-ref-table#syntax" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.databricks.com/aws/en/dlt-ref/dlt-python-ref-table#syntax&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;It is not currently supported to update comments or constraints for Delta Live Tables (DLT)-managed streaming tables&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;outside&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;the pipeline definition code. Any attempt to use standard SQL commands (&lt;/SPAN&gt;&lt;CODE&gt;COMMENT ON TABLE&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;ALTER TABLE ADD CONSTRAINT&lt;/CODE&gt;&lt;SPAN&gt;, etc.) on DLT streaming tables results in errors, as Databricks restricts altering DLT streaming tables this way for metadata integrity and pipeline management reasons.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Sep 2025 14:35:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-update-comments-and-constraints-on-streaming-tables/m-p/132852#M10732</guid>
      <dc:creator>Saritha_S</dc:creator>
      <dc:date>2025-09-23T14:35:14Z</dc:date>
    </item>
  </channel>
</rss>

