<?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: View column comments in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/135272#M2638</link>
    <description>&lt;P class=""&gt;you can use COMMENT ON to set or update the comment on an view&lt;/P&gt;&lt;P&gt;-- View-level comment (use TABLE for views)&lt;BR /&gt;COMMENT ON TABLE catalog.schema.my_view IS 'View for user info';&lt;/P&gt;&lt;P&gt;-- Column-level comment on a view&lt;BR /&gt;COMMENT ON COLUMN catalog.schema.my_view.name IS 'User display name';&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-comment" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-comment&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 17 Oct 2025 18:08:04 GMT</pubDate>
    <dc:creator>DavidThomasDBX</dc:creator>
    <dc:date>2025-10-17T18:08:04Z</dc:date>
    <item>
      <title>View column comments</title>
      <link>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/37019#M1077</link>
      <description>&lt;P&gt;As a way to minimize storage costs, my team and I want to create views instead of tables in the Gold layer.&lt;BR /&gt;We always try to improve the experience of our users by adding comments to the columns. the problem is that views do not inherit comments from their source columns and it is not allowed to add comments to them.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 15:46:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/37019#M1077</guid>
      <dc:creator>isabelgontijo</dc:creator>
      <dc:date>2023-07-05T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: View column comments</title>
      <link>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/48808#M1405</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/78883"&gt;@isabelgontijo&lt;/a&gt;&amp;nbsp;,had you found any workaround this?You can use create view statement as mentioned below&lt;/P&gt;&lt;P&gt;In addition to this,i am&amp;nbsp; not able to add comment on column which is encrypted and in views we are decrypting that column. &lt;STRONG&gt;I am using create view statement to add comment,&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;create&lt;/SPAN&gt; &lt;SPAN&gt;or&lt;/SPAN&gt; &lt;SPAN&gt;replace&lt;/SPAN&gt; &lt;SPAN&gt;view catalog_name&lt;/SPAN&gt;&lt;SPAN&gt;.schema.table_name (column1&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;comment&lt;/SPAN&gt; &lt;SPAN&gt;'adfsds'&lt;/SPAN&gt;&lt;SPAN&gt;,column2&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;comment&lt;/SPAN&gt; &lt;SPAN&gt;'sdcbhbsjdcjs'&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;comment&lt;/SPAN&gt; &lt;SPAN&gt;'bjsjcds'&lt;/SPAN&gt; &lt;SPAN&gt;as select &lt;STRONG&gt;aesdecrypt_function(column1),aesdecrypt_function(column2)&lt;/STRONG&gt;&amp;nbsp;from table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Oct 2023 06:34:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/48808#M1405</guid>
      <dc:creator>luck_az</dc:creator>
      <dc:date>2023-10-10T06:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: View column comments</title>
      <link>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/135272#M2638</link>
      <description>&lt;P class=""&gt;you can use COMMENT ON to set or update the comment on an view&lt;/P&gt;&lt;P&gt;-- View-level comment (use TABLE for views)&lt;BR /&gt;COMMENT ON TABLE catalog.schema.my_view IS 'View for user info';&lt;/P&gt;&lt;P&gt;-- Column-level comment on a view&lt;BR /&gt;COMMENT ON COLUMN catalog.schema.my_view.name IS 'User display name';&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-comment" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-comment&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Oct 2025 18:08:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/view-column-comments/m-p/135272#M2638</guid>
      <dc:creator>DavidThomasDBX</dc:creator>
      <dc:date>2025-10-17T18:08:04Z</dc:date>
    </item>
  </channel>
</rss>

