cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can I update a table comment using REST API?

al2co33
New Contributor

https://docs.databricks.com/api/workspace/tables

It seems I could only list/delete tables, is there a way to update a table's metadata like comment or detail fields by REST API?

1 REPLY 1

Ayushi_Suthar
Honored Contributor

Hi @al2co33 , We don't currently provide any APIs for updating table comments, however you can utilize the SQL Statement Execution API to do it.

You can use the following tutorial to ALTER TABLE/COLUMN COMMENT.

https://learn.microsoft.com/en-us/azure/databricks/sql/admin/sql-execution-tutorial

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