How do you add comment metadata to delta live tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 12:57 PM
Hey all,
We've got a bunch of business objects we created as delta live tables. these are important as that's what business users will use in dashboards, genie rooms etc. We're trying to enrich the metadata for those but the option is greyed out and I can't find the right documentation for it.
I tried to do it via SQL adding comment at the end of the column and that's not supported. What's the best way to achieve this?
We got the ability to add comments and AI assist on regular tables, just not mat views. thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 04:11 PM
Hi @AnaMocanu,
As of now, although you can add comments and use AI assistance for regular tables, the same functionality is not supported for materialized views directly via SQL or the Databricks UI. Let me check if there is a way of doing this and get back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Alberto_Umana Bumping this request - this is an important feature for our users, and it's not clear how to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks for bumping it @joshuat ! 100% agree, super important feature - Without good metadata we won't make this work properly for our users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago - last edited 2 weeks ago
Hi There , You can add comment in the delta live tables either mv or streaming table in the tag - @Dlt.table()
@Dlt.table(
comment = "Delta live tables comment"
)
Here is the syntax for sql : https://docs.databricks.com/aws/en/dlt-ref/dlt-sql-ref-create-materialized-view#syntax
Here is the syntax for python : https://docs.databricks.com/aws/en/dlt-ref/dlt-python-ref-table#syntax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks, but that doesn't answer the question ashraf1395. OP's question was how to create/update the field comments in the Catalog GUI.
Also note that I've populated the `comment=` syntax in my Python DLT definition, but the table description or creation logic are not populated in the GUI. Additionally, Python docs don't support field comments.

