<?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: Error in Column level tags creation in views via SQL in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144994#M52432</link>
    <description>&lt;P&gt;Thanks for the clarification&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;. I have a follow-up qn, if I have attached tag to a view column and the same view is associated with a SHARE, will the recipient see the tag in the view i.e. whether view column tags associated to shares are propagated to recipient end?&lt;/P&gt;&lt;P&gt;If metadata such as tag is not propagated to share recipient, does comment propagates to recipient?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jan 2026 13:10:15 GMT</pubDate>
    <dc:creator>souravroy1990</dc:creator>
    <dc:date>2026-01-23T13:10:15Z</dc:date>
    <item>
      <title>Error in Column level tags creation in views via SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144872#M52398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run this query using SQL and using DBR 17.3 cluster. But I get a syntax error.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;VIEW&lt;/SPAN&gt; &lt;SPAN&gt;catalog&lt;/SPAN&gt;&lt;SPAN&gt;.schema&lt;/SPAN&gt;&lt;SPAN&gt;.view&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;COLUMN&lt;/SPAN&gt; column_name&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SET&lt;/SPAN&gt; &lt;SPAN&gt;TAGS&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;`METADATA`&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;`xyz`&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But below query works-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;SET&lt;/SPAN&gt; &lt;SPAN&gt;TAG&lt;/SPAN&gt; &lt;SPAN&gt;ON&lt;/SPAN&gt; &lt;SPAN&gt;COLUMN catalog.schema.view.column_name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;`METADATA`&lt;/SPAN&gt; = &lt;SPAN&gt;`xyz`;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the first format not supported in databricks SQL or there is any problem with the syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Jan 2026 13:15:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144872#M52398</guid>
      <dc:creator>souravroy1990</dc:creator>
      <dc:date>2026-01-22T13:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Column level tags creation in views via SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144874#M52399</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/178678"&gt;@souravroy1990&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This syntax is just unsupported. Using ALTER VIEW you can set tag for an entire view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1769088068471.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/23209iF4AFF70D45381E94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1769088068471.png" alt="szymon_dybczak_0-1769088068471.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you need to set tag on a column you've already found a proper way which is to use SET TAG command:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-syntax-ddl-set-tag" target="_blank"&gt;SET TAG - Azure Databricks - Databricks SQL | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 13:22:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144874#M52399</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-01-22T13:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Column level tags creation in views via SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144994#M52432</link>
      <description>&lt;P&gt;Thanks for the clarification&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;. I have a follow-up qn, if I have attached tag to a view column and the same view is associated with a SHARE, will the recipient see the tag in the view i.e. whether view column tags associated to shares are propagated to recipient end?&lt;/P&gt;&lt;P&gt;If metadata such as tag is not propagated to share recipient, does comment propagates to recipient?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 13:10:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-in-column-level-tags-creation-in-views-via-sql/m-p/144994#M52432</guid>
      <dc:creator>souravroy1990</dc:creator>
      <dc:date>2026-01-23T13:10:15Z</dc:date>
    </item>
  </channel>
</rss>

