<?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: How to define a column tag in a table schema definition? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128967#M48393</link>
    <description>&lt;P&gt;Thank you very much for response William&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 11:58:07 GMT</pubDate>
    <dc:creator>b-baran</dc:creator>
    <dc:date>2025-08-20T11:58:07Z</dc:date>
    <item>
      <title>How to define a column tag in a table schema definition?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128469#M48251</link>
      <description>&lt;P&gt;Setting a tag for a specific column can be done using the SQL command:&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-set-tag" target="_blank"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-set-tag&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there another possible way to define a column tag?&lt;/P&gt;&lt;P&gt;For example, it is possible to add a column comment and masking function as below via the schema definition.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;schema &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Primary_Key BIGINT COMMENT "Primary Key",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Masked_Value STRING COMMENT "Masked Value" MASK catalog.schema.mask_function&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 13:35:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128469#M48251</guid>
      <dc:creator>b-baran</dc:creator>
      <dc:date>2025-08-14T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a column tag in a table schema definition?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128916#M48372</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142584"&gt;@b-baran&lt;/a&gt;,&lt;BR /&gt;I couldn’t find any alternative in the official documentation — currently, the only supported way to define column tags is using ALTER TABLE ... ALTER COLUMN ... SET TAGS.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 21:51:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128916#M48372</guid>
      <dc:creator>WiliamRosa</dc:creator>
      <dc:date>2025-08-19T21:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a column tag in a table schema definition?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128967#M48393</link>
      <description>&lt;P&gt;Thank you very much for response William&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 11:58:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128967#M48393</guid>
      <dc:creator>b-baran</dc:creator>
      <dc:date>2025-08-20T11:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a column tag in a table schema definition?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128969#M48394</link>
      <description>&lt;P&gt;You’re welcome &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/142584"&gt;@b-baran&lt;/a&gt;&amp;nbsp;! If you feel my answer addressed your question, could you please mark it as the solution to the post? Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 12:08:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-define-a-column-tag-in-a-table-schema-definition/m-p/128969#M48394</guid>
      <dc:creator>WiliamRosa</dc:creator>
      <dc:date>2025-08-20T12:08:15Z</dc:date>
    </item>
  </channel>
</rss>

