cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

View column comments

isabelgontijo
New Contributor

As a way to minimize storage costs, my team and I want to create views instead of tables in the Gold layer.
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.

1 REPLY 1

luck_az
New Contributor III

Hi @isabelgontijo ,had you found any workaround this?You can use create view statement as mentioned below

In addition to this,i am  not able to add comment on column which is encrypted and in views we are decrypting that column. I am using create view statement to add comment,

create or replace view catalog_name.schema.table_name (column1 comment 'adfsds',column2 comment 'sdcbhbsjdcjs') comment 'bjsjcds' as select aesdecrypt_function(column1),aesdecrypt_function(column2) from table.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group